public NavigableMap<Bytes32, Bytes> streamStorageFlatDatabase(
      final SegmentedKeyValueStorage storage,
      final Hash accountHash,
      final Bytes startKeyHash,
      final Predicate<Pair<Bytes32, Bytes>> takeWhile) {
    return toNavigableMap(
        storageToPairStream(storage, accountHash, startKeyHash, RLP::encodeValue)
            .takeWhile(takeWhile));
  }
streams raw storage Bytes using a specified predicate filter and value mapper.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie/pathbased/common/storage/flat/FlatDbStrategy.java