public static void writeBitmap(OutputStream output, ClickHouseBitmap bitmap) throws IOException {
        writeByteBuffer(output, bitmap.toByteBuffer());
    }
Writes bitmap into given output stream.

@param output non-null output stream
@param bitmap non-null bitmap
@throws IOException when failed to write value to output stream or reached
                    end of the stream
clickhouse-data/src/main/java/com/clickhouse/data/format/BinaryStreamUtils.java