Guest User

Untitled

a guest
Sep 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public final void writeReversedLong(final long l) {
  2. baos.write((byte) ((l >>> 32) & 0xFF));
  3. baos.write((byte) ((l >>> 40) & 0xFF));
  4. baos.write((byte) ((l >>> 48) & 0xFF));
  5. baos.write((byte) ((l >>> 56) & 0xFF));
  6. baos.write((byte) (l & 0xFF));
  7. baos.write((byte) ((l >>> 8) & 0xFF));
  8. baos.write((byte) ((l >>> 16) & 0xFF));
  9. baos.write((byte) ((l >>> 24) & 0xFF));
Add Comment
Please, Sign In to add comment