Example #1
0
        /// <summary>
        ///  Reads a 32-bit integer from the current header data and advances the current position by 4 bytes.
        /// </summary>
        /// <returns>The next 32-bit integer.</returns>
        public int ReadInt32()
        {
            int readInt = LittleEndian.GetInt32(Data, Position);

            Position += sizeof(int);

            return(readInt);
        }