public static ClickHouseByteBuffer of(List<byte[]> list, int offset, int length) {
        ClickHouseByteBuffer buf = newInstance();
        if (list == null || list.isEmpty() || length == 0) {
            return buf;
        }

        return buf.update(list, offset, length);
    }
Wraps given byte arrays as byte buffer.

@param list   list of non-null byte arrays
@param offset offset
@param length length
@return non-null byte buffer
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseByteBuffer.java