public Optional<Bytes> wrapBytes() {
      return value.map(Bytes::wrap);
    }
Convenience method to map the Optional value to Bytes.

@return Optional of Bytes.
plugin-api/src/main/java/org/hyperledger/besu/plugin/services/storage/SegmentedKeyValueStorage.java