Class SnappyFrameDecoder

    • Constructor Detail

      • SnappyFrameDecoder

        public SnappyFrameDecoder()
        Creates a new snappy-framed decoder with validation of checksums turned OFF. To turn checksum validation on, please use the alternate SnappyFrameDecoder(boolean) constructor.
      • SnappyFrameDecoder

        public SnappyFrameDecoder​(boolean validateChecksums)
        Creates a new snappy-framed decoder with validation of checksums as specified.
        Parameters:
        validateChecksums - If true, the checksum field will be validated against the actual uncompressed data, and if the checksums do not match, a suitable DecompressionException will be thrown