[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Some Java and C memory problems



Hi all,

 I was rewriting some C code in Java, some portions
 of the C code extensively handles unsigned chars or
 octets using 'memcpy', how would you suggest I approach
 the same problem in Java ? 

 I would appreciate it if anyone could provide me 
 the right data types that I could use to do this. 
 I am trying to use Byte Arrays to perform the same 
 as of now, but I cannot seem to handle the bytes 
 exactly the same way that memcpy does.

Thanks a lot,
Santosh.