Example #1
0
#pragma warning restore 3001, 3002, 0618

        #endregion



        /// <summary>
        /// Add an <see cref="System.Int32"/> (Little-endian) to the writer
        /// </summary>
        /// <param name="value"></param>
        /// <remarks>
        /// This functionality is not allowed when the writer has been sealed
        /// </remarks>
        public void WriteInt32LE(Int32 value)
        {
            CheckImmutable();
            ByteArrayHelpers.WriteInt32LE(
                _proxy,
                0,
                value);

            WriteBytes(
                _proxy,
                0,
                4);
        }
Example #2
0
 public void WriteInt32LE(int value)
 {
     this.CheckImmutable();
     ByteArrayHelpers.WriteInt32LE(this._proxy, 0, value);
     this.WriteBytes(this._proxy, 0, 4);
 }