default void write(byte[] bytes) throws IOException {
        ByteBuffer buffer = ByteBuffer.wrap(bytes);
        write(buffer);
    }
Convenient method to write some bytes in byte array.
This method is not encouraged as it could make people lazy and hurt performance.
indexr-common/src/main/java/io/indexr/io/ByteBufferWriter.java