natix.CompactDS.BlockCoding.Decode C# (CSharp) Method

Decode() public method

public Decode ( BitStream32 Buffer, BitStreamCtx ctx ) : int
Buffer BitStream32
ctx BitStreamCtx
return int
        public int Decode(BitStream32 Buffer, BitStreamCtx ctx)
        {
            int skip = this.SkipCoder.Decode (Buffer, ctx);
            int output = (int)Buffer.Read (this.Power, ctx);
            return (skip << this.Power) | output;
        }