![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I would like to know the best way to map a 100-byte array to class instance variables: byte [] myArray = { '1', '2', '3', ..... }; // 100 bytes class BlockOf100Bytes { public void mapIt( byte [] byteArray ) // C++ can do the following: printf("field3=%.41s", pBlock->field3); Replies:
|
Sponsored Links
|