im having a time conceptual understanding something that seems so simple.
basically if I have a class CLASS A
and it is reading a
string that lets say is 100bytes long
and I want to make a structure(class B) like this:
(using substring)
String s1 = to the first 5 bytes
String s2 = to the second 5 bytes
Byte[] = to the last 90 bytes
I want it to pass this 'structure'
to CLASS C and have it be able to
take it and make one long string with it again.
what would you pass to CLASS C ?
create a new instance and pass it a object of CLASS B?
can anyone show me an example?
thank you
[ October 27, 2004: Message edited by: ryan wayne ]