SwfDotNet.IO.Tags.Types.Pix15.ReadData C# (CSharp) Method

ReadData() public method

Reads the data from a binary reader.
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
return void
        public void ReadData(BufferedBinaryReader binaryReader)
        {
            binaryReader.ReadBoolean();
            this.red = (byte)binaryReader.ReadUBits(5);
            this.green = (byte)binaryReader.ReadUBits(5);
            this.blue = (byte)binaryReader.ReadUBits(5);
        }