C# Class SevenZip.Compression.LZMA.Decoder.LiteralDecoder

显示文件 Open project: SteamDatabase/ValveResourceFormat

Public Methods

Method Description
Create ( int numPosBits, int numPrevBits ) : void
DecodeNormal ( RangeCoder rangeDecoder, uint pos, byte prevByte ) : byte
DecodeWithMatchByte ( RangeCoder rangeDecoder, uint pos, byte prevByte, byte matchByte ) : byte
Init ( ) : void

Private Methods

Method Description
GetState ( uint pos, byte prevByte ) : uint

Method Details

Create() public method

public Create ( int numPosBits, int numPrevBits ) : void
numPosBits int
numPrevBits int
return void

DecodeNormal() public method

public DecodeNormal ( RangeCoder rangeDecoder, uint pos, byte prevByte ) : byte
rangeDecoder RangeCoder
pos uint
prevByte byte
return byte

DecodeWithMatchByte() public method

public DecodeWithMatchByte ( RangeCoder rangeDecoder, uint pos, byte prevByte, byte matchByte ) : byte
rangeDecoder RangeCoder
pos uint
prevByte byte
matchByte byte
return byte

Init() public method

public Init ( ) : void
return void