Interface SnappyCodec


@Internal public interface SnappyCodec
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    compress(byte[] uncompressed)
     
    default byte[]
    decompress(byte[] compressed)
     
    byte[]
    decompress(byte[] compressed, int offset, int len)
     
    Returns the fastest implementation compatible with the runtime environment.
  • Method Details

    • instance

      static SnappyCodec instance()
      Returns the fastest implementation compatible with the runtime environment.
    • compress

      byte[] compress(byte[] uncompressed)
    • decompress

      default byte[] decompress(byte[] compressed)
    • decompress

      byte[] decompress(byte[] compressed, int offset, int len)