Alexandria.Compression.BitStream.PeekMSB C# (CSharp) Method

PeekMSB() public method

Peek at the next number of bits in MSB order.
public PeekMSB ( int count ) : int
count int
return int
        public int PeekMSB(int count)
        {
            if (BitCount < count)
                FetchMSB();

            return (int)((Bits >> (32 - count)) & ~((~0) << count));
        }