how
about System.arraycopy?
rand
--------------------------------
Rand Clark
Software
Design Engineer
Transoft Networks
a Hewlett-Packard company
805.883.4315
[EMAIL PROTECTED]
--------------------------------
-----Original Message-----
From: Pepelis, Aaron [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 7:34 AM
To: Java - Swing
Subject: byte [], int []Off the topic, but I'm still doing this from a Swing app.
I have a byte [] {0x02, 0x04, 0x05}
and I'd like made into an int [] {0x02, 0x04, 0x05}
what's the quickest why to do this?
or is it just a for loop?
My byte[] is usually 1518 bytes long... so a bunch of time is eaten up and I need a quicker way... is there any way to case?thanks
