posted 18 years ago
Well, you certainly can't do this by casting, because a String is now an array of bytes. But it's possible to write a method that will take a String "00000000" as input, and return a byte[] containing { 0, 0, 0, 0, 0, 0, 0, 0 } as output - if that's really what you want. A rough algorithm:
Is that what you're trying to do?
[ October 19, 2007: Message edited by: Jim Yingst ]
"I'm not back." - Bill Harding, Twister