public static void writeInt64LE(final long value, ByteBuffer buffer)
    {
        buffer.put((byte) (value >>> 0));
        buffer.put((byte) (value >>> 8));
        buffer.put((byte) (value >>> 16));
        buffer.put((byte) (value >>> 24));
        buffer.put((byte) (value >>> 32));
        buffer.put((byte) (value >>> 40));
        buffer.put((byte) (value >>> 48));
        buffer.put((byte) (value >>> 56));
    }
Writes the 64-bit int into the buffer starting with the least significant byte.
protostuff-api/src/main/java/io/protostuff/IntSerializer.java