SwfDotNet.IO.Utils.BufferedBinaryReader.ReadByte C# (CSharp) Method

ReadByte() public method

Reads the byte.
public ReadByte ( ) : byte
return byte
        public override byte ReadByte()
        {
            SynchBits();
            return base.ReadByte();
        }

Usage Example

Example #1
0
        public override void ReadData(byte version, BufferedBinaryReader binaryReader)
        {
            base.ReadData(version, binaryReader);

            Type = (FlvScriptType)binaryReader.ReadUBits(8);

            int count = 0;
            if (Type == FlvScriptType.Number)
                count = 8;

            for (int i = 0; i < count; i++)
            {
                binaryReader.ReadByte();
            }
        }
All Usage Examples Of SwfDotNet.IO.Utils.BufferedBinaryReader::ReadByte