Class Encoder


  • public class Encoder
    extends java.lang.Object
    • 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​(java.io.InputStream inStream,
                         java.io.OutputStream outStream,
                         long inSize,
                         long outSize,
                         ICodeProgress progress)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • WriteCoderProperties

        public void WriteCoderProperties​(java.io.OutputStream outStream)
                                  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)