示例#1
0
        public void UpdateState(ref FseBitReader reader)
        {
            FseDecompressTable dInfo = Table[State];
            uint lowBits             = reader.ReadBits(dInfo.NumberOfBits);

            State = (int)(dInfo.NewState + lowBits);
        }
示例#2
0
        public byte DecodeSymbol(ref FseBitReader reader)
        {
            FseDecompressTable dInfo = Table[State];
            uint lowBits             = reader.ReadBits(dInfo.NumberOfBits);

            State = (int)(dInfo.NewState + lowBits);
            return(dInfo.Symbol);
        }