I'm reading a 16 byte array (byte[16]) from a JDBC ResultSet with rs.getBytes("id") and now I need to convert it to two long. How can I do that?
This is the code ...
Problem
I need to convert two ints and a string of variable length to bytes.
What I did
I converted each data type into a byte array and then added them into a byte ...