I am parsing in Java a byte array having the following specification:
Trace data format:
- 4 bytes containing the Id.
- 4 bytes containing the address.
- N bytes containing the first name, where 0 < N < 32
- N bytes containing the last name, where 0 < N < 32
- 4 bytes containing the Minimum
- 4 bytes containing the Maximum
- 4 bytes containing the Resource Default Level
Today I don't see any solution to parse this array in order to get 7 variable with the correct type. Do you confirm or Am I missing something like a magic function in Java allowing to find String "limits" in a byte array (I can't see how the Minimum value can be distincted from its associated ASCII character).
Is there any "convention" about a special character between the 2 strings ?