Class Encoder


  • public class Encoder
    extends java.lang.Object
    RangeEncoder
    Author:
    Igor Pavlov
    • Constructor Detail

      • Encoder

        public Encoder()
    • Method Detail

      • codeOneBlock

        public void codeOneBlock​(long[] inSize,
                                 long[] outSize,
                                 boolean[] finished)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • code

        public void code​(LZMAEncoder.LZMAOutputState state,
                         long inSize,
                         long outSize)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeCoderProperties

        public void writeCoderProperties​(Buffer dst)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • setAlgorithm

        public boolean setAlgorithm​(int algorithm)
      • setDictionarySize

        public boolean setDictionarySize​(int dictionarySize)
      • setNumFastBytes

        public boolean setNumFastBytes​(int numFastBytes)
      • setMatchFinder

        public boolean setMatchFinder​(int matchFinderIndex)
      • setLcLpPb

        public boolean setLcLpPb​(int lc,
                                 int lp,
                                 int pb)
      • setEndMarkerMode

        public void setEndMarkerMode​(boolean endMarkerMode)