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

            this.Position += 4;
            return(ByteArrayHelpers.ReadInt32BE(this._buffer, offset));
        }
        /// <summary>
        /// Read an <see cref="System.Int32"/> (Big-endian),
        /// and move the pointer accordingly
        /// </summary>
        /// <returns></returns>
        public Int32 ReadInt32BE()
        {
            int ptr = Position + 1;

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