Example #1
0
        public int ReadInt32LE()
        {
            int offset = this.Position + 1;

            this.Position += 4;
            return(ByteArrayHelpers.ReadInt32LE(this._buffer, offset));
        }
#pragma warning restore 3001, 3002

        #endregion



        /// <summary>
        /// Read an <see cref="System.Int32"/> (Little-endian),
        /// and move the pointer accordingly
        /// </summary>
        /// <returns></returns>
        public Int32 ReadInt32LE()
        {
            int ptr = Position + 1;

            Position += 4;
            return(ByteArrayHelpers.ReadInt32LE(
                       _buffer,
                       ptr));
        }