Class FastLzFrameDecoder

    • Constructor Detail

      • FastLzFrameDecoder

        public FastLzFrameDecoder()
        Creates the fastest FastLZ decoder without checksum calculation.
      • FastLzFrameDecoder

        public FastLzFrameDecoder​(boolean validateChecksums)
        Creates a FastLZ decoder with calculation 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. Note, that in this case decoder will use Adler32 as a default checksum calculator.
      • FastLzFrameDecoder

        public FastLzFrameDecoder​(java.util.zip.Checksum checksum)
        Creates a FastLZ decoder with specified checksum calculator.
        Parameters:
        checksum - the Checksum instance to use to check data for integrity. You may set null if you do not want to validate checksum of each block.