Пример #1
0
        /// <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);
        }