boolean startsWithPrefix(final Bytes maybePrefixed) {
            if (maybePrefixed.get().length < prefix.length) {
                return false;
            }

            final byte[] maybePrefix = new byte[prefix.length];
            System.arraycopy(maybePrefixed.get(), 0, maybePrefix, 0, prefix.length);
            return Arrays.equals(prefix, maybePrefix);
        }
Manages translation between raw key and the key to be stored into the physical store.
The key for the physical store is the raw key prepended with a fixed-length prefix.
streams/src/main/java/org/apache/kafka/streams/state/internals/LogicalKeyValueSegment.java