Class Decoder

java.lang.Object
SevenZip.Compression.RangeCoder.Decoder

public class Decoder
extends Object
  • Constructor Details

    • Decoder

      public Decoder()
  • Method Details

    • SetStream

      public final void SetStream​(InputStream stream)
    • ReleaseStream

      public final void ReleaseStream()
    • Init

      public final void Init() throws IOException
      Throws:
      IOException
    • DecodeDirectBits

      public final int DecodeDirectBits​(int numTotalBits) throws IOException
      Throws:
      IOException
    • DecodeBit

      public int DecodeBit​(short[] probs, int index) throws IOException
      Throws:
      IOException
    • InitBitModels

      public static void InitBitModels​(short[] probs)