I have client and server that communicate with byte arrays.
The array is composed from [pavket id][packet size][data] in LITTLE_ENDIAN byte order.
The [data] is also build with the following format: 4 bytes(int) for chunk size, chunk, 4 bytes chunk size.....
Currently, I use a plain stream and reads the byte array and dissecting the data part by part.
Is there a library class where I can read int,short,string... from the byte array by start + length?
View Complete Post