@Override
    public void serialize(final ByteBuffer byteBuffer, final StagingRefDataValue stagingRefDataValue) {
        final RefDataValue refDataValue = stagingRefDataValue.getRefDataValue();
        byteBuffer.put(stagingRefDataValue.getTypeId());
        byteBuffer.putLong(refDataValue.getValueHashCode(valueStoreHashAlgorithm));
        genericRefDataValueSerde.serialize(byteBuffer, refDataValue);
    }
<pre>{@code
<type ID int><hash code long><value bytes................>
}</pre>
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/serdes/StagingRefDataValueSerde.java