public void write(byte[] buf, int offset, int length) {
        write(ByteBuffer.wrap(buf, offset, length));
    }
<p>This is a convenience method to convert a subarray of the given byte array into a ByteBuffer object, and then
passing that to {@link #write(java.nio.ByteBuffer)}.</p>

@param buf    The bytes to write.
@param offset The offset of the subarray to be used.
@param length The length of the subarray to be used.
jdisc_core/src/main/java/com/yahoo/jdisc/handler/FastContentWriter.java