@Override
    public byte[] get(final Bytes key, final long asOfTimestamp) {
        final VersionedRecord<byte[]> versionedRecord = inner.get(key, asOfTimestamp);
        return serializeAsBytes(versionedRecord);
    }
Adapts from {@link VersionedKeyValueStore} (user-friendly versioned store interface) to
{@link KeyValueStore}. By representing a {@code VersionedKeyValueStore} as a
{@code KeyValueStore}, this allows reuse of existing {@link StreamsBuilder} and {@link KTable}
method interfaces which accept {@code Materialized<K, V, KeyValueStore<Bytes, byte[]>)}
for versioned key-value stores.
streams/src/main/java/org/apache/kafka/streams/state/internals/VersionedKeyValueToBytesStoreAdapter.java