public static ClickHouseByteBuffer of(byte[] bytes, int offset, int length) {
        if (bytes == null || bytes.length == 0 || length == 0) {
            return newInstance();
        }

        return new ClickHouseByteBuffer(bytes, offset, length);
    }
Wraps given byte array as byte buffer.

@param bytes  byte array
@param offset start position
@param length length
@return non-null byte buffer
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseByteBuffer.java