@Override
    public void write(final byte[] bytes) throws IOException {
        wrappedSegmentOutputStream.write(bytes);
    }
Insert segment markers after the header and after every record.
stroom-pipeline/src/main/java/stroom/pipeline/writer/StreamOutput.java