protected override void Parse()
{
BinaryReader br = new BinaryReader(this._dataStream);
this._characterID = br.ReadUInt16();
this._numberOfFrames = br.ReadUInt16();
this._width = br.ReadUInt16();
this._height = br.ReadUInt16();
BitStream bits = new BitStream(this._dataStream);
UInt32 reserved = bits.GetBits(4); // muste be 0
if (0 != reserved)
{
SwfFormatException e = new SwfFormatException("Reserved bits havae been set");
Log.Error(this, e.Message);
throw e;
}
this._videoFlagsDeblocking = (VideoFlagsDeblocking)bits.GetBits(3);
this._videoFlagsSmoothing = (0 != bits.GetBits(1) ? true : false);
this._codecID = (CodecID)this._dataStream.ReadByte();
}