public byte[] compress(final byte[] uncompressed) {
    checkNotNull(uncompressed, "input data must not be null");
    try {
      return Snappy.compress(uncompressed);
    } catch (final IOException e) {
      throw new FramingException("Snappy compression failed", e);
    }
  }
A strategy for compressing and decompressing data with the Snappy algorithm.

@see <a href="https://google.github.io/snappy/">Snappy algorithm</a>
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/framing/SnappyCompressor.java