@Override
    public void write(final int b) throws IOException {
        dataOutputStream.write(b);
        position++;
    }
Writes the specified byte to the data output stream.

@param b the <code>byte</code>.
@throws IOException if an I/O error occurs. In particular, an
                    <code>IOException</code> may be thrown if the output
                    stream has been closed.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/RASegmentOutputStream.java