Hi,
 
I know it is not the best place to ask this. But i do not know any other were people answer.
I got a problem working with byte type in JAVA. i am use to C.
 
So i like to crete a struc
            byte toto
                    byte[]  size    = new byte[10];
                    byte[]  data    = null;
and i would like to copy this structure into another byte[]. but i find out that we cannot concatenate byte.
and i did not find any method that allow me to copy into bytte[]. I do not want to use String to byte because of the problem of decode and coding. i findout that there is some trouble with it (back slash into blank).
 
Does some one could tell me how to do this:
 
            copy the size into the byte[] then adding the data to the same byte[].
            how to extract the 10 first byte from the byte[]
 
i really do not know how to solve this problem in JAVA.
 
One small example would be so nice
 
Thanks
        Herve
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to