@Override
    public void serialize(final ByteBuffer byteBuffer, final StagingValue stagingValue) {
        // No need for supplier as it just wraps a buffer.
        final ByteBuffer valueByteBuffer = serialize((Supplier<ByteBuffer>) null, stagingValue);
        // Need to copy into supplied buffer
        byteBuffer.put(valueByteBuffer);
        byteBuffer.flip();
        valueByteBuffer.rewind();
    }
<pre>{@code
<type ID int><hash code long><value bytes................>
}</pre>
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/serdes/StagingValueSerde.java