Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public final void writeReversedLong(final long l) {
- baos.write((byte) ((l >>> 32) & 0xFF));
- baos.write((byte) ((l >>> 40) & 0xFF));
- baos.write((byte) ((l >>> 48) & 0xFF));
- baos.write((byte) ((l >>> 56) & 0xFF));
- baos.write((byte) (l & 0xFF));
- baos.write((byte) ((l >>> 8) & 0xFF));
- baos.write((byte) ((l >>> 16) & 0xFF));
- baos.write((byte) ((l >>> 24) & 0xFF));
Add Comment
Please, Sign In to add comment