Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // the argument is an array of 4 byte little-endian, I need the big-endian value
- private long grabTimestamp( byte[] parameters ) {
- long timestamp = ( 0xff & parameters[3] ) << 24 | ( 0xff & parameters[2] ) << 16 | ( 0xff & parameters[1] ) << 8 | ( 0xff & parameters[0] );
- return timestamp;
- }
Add Comment
Please, Sign In to add comment