コード例 #1
0
ファイル: ShockwaveFlash.cs プロジェクト: proxymoron/Sulakore
        /// <summary>
        /// Reads the frame information like size, rate, and count.
        /// </summary>
        protected void ReadFrameInformation()
        {
            Reader.Position = 8;

            FrameSize = new RectangleRecord(Reader);
            FrameRate = (ushort)(Reader.ReadUInt16() >> 8);
            FrameCount = Reader.ReadUInt16();

            _frameEndPos = Reader.Position;
            Reader.Position = 8;

            _frameData = Reader.ReadBytes(_frameEndPos - 8);
        }