public static void writeInt16LE(final int value, ByteBuffer buffer)
    {
        buffer.put((byte) value);
        buffer.put((byte) ((value >>> 8) & 0xFF));
    }
Writes the 16-bit int into the buffer starting with the least significant byte.
protostuff-api/src/main/java/io/protostuff/IntSerializer.java