SWFProcessing.SWFModeller.ABCDataTypeReader.ReadSI8 C# (CSharp) Method

ReadSI8() public method

Read an unsigned byte, aligned to the next byte boundary
public ReadSI8 ( ) : int
return int
        public int ReadSI8()
        {
            this.bufferedBits = 0;
            this.Offset++;
            int b = this.InputStream.ReadByte();
            if (0 != (b & 0x80000000))
            {
                unchecked
                {
                    b |= (int)0xFFFFFF00;
                }
            }

            return b;
        }