public final ClickHouseOutputStream writeBytes(byte[] bytes) throws IOException {
        return writeBytes(bytes, 0, bytes.length);
    }
Writes bytes into output stream.

@param bytes non-null byte array
@return current output stream
@throws IOException when failed to write value into output stream, not able
                    to sent all bytes, or operate on a closed stream
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseOutputStream.java