@Override
    public void serialize(ByteBuffer byteBuffer, ValueStoreMeta valueStoreMeta) {

        byteBuffer.put((byte) valueStoreMeta.getTypeId());
        REF_COUNT_UNSIGNED_BYTES.put(byteBuffer, valueStoreMeta.getReferenceCount());
        byteBuffer.flip();
    }
< typeId >< referenceCount >
< 1 byte >< 3 bytes >
<p>
referenceCount stored as a 3 byte unsigned integer so a max
of ~16 million.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/serdes/ValueStoreMetaSerde.java