private static void convertToBytes(long value, byte[] buffer) {
        for (int i = 0; i < buffer.length; i++) {
            buffer[i] = (byte) (value & 0xff);
            value = value >> 8;
        }
    }
This method is used to convert the specified value to the buffer.

@param value  Specify the value to convert.
@param buffer Specify the buffer which copies the bytes into.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/util/LittleEndianBitConverter.java