예제 #1
0
파일: Block.cs 프로젝트: VoidXH/Cavern
        /// <summary>
        /// Read all stream data from this block, without separating frames.
        /// </summary>
        public byte[] GetData()
        {
            reader.Position = firstFrame;
            int length = QMath.Sum(frameSizes);

            return(reader.ReadBytes(length));
        }