@Override
    public void write(final int b) throws IOException {
        if (currentStreamBuffer == null) {
            startGzipBlock();
        }
        // Write a single byte
        currentStreamBuffer.write(b);
        position++;

        // Have we moved onto the next block?
        if (position == currentBlockEndPos) {
            endGzipBlock();
        }
    }
Start a new burst of GZIP Block Content (with a marker).
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/BlockGZIPOutputFile.java