@Override
    public ClickHouseOutputStream writeByte(byte b) throws IOException {
        ensureOpen();

        buffer[position++] = b;
        if (position >= buffer.length) {
            flushBuffer();
        }
        return this;
    }
Writes the given byte array without using {@code buffer} and
{@code position}.

@param bytes  non-null byte array to write
@param offset offset
@param length length in byte
@throws IOException when failed to write data
clickhouse-data/src/main/java/com/clickhouse/data/stream/AbstractByteArrayOutputStream.java