/// <summary> /// Add an <see cref="System.Int16"/> (Big-endian) to the writer /// </summary> /// <param name="value"></param> /// <remarks> /// This functionality is not allowed when the writer has been sealed /// </remarks> public void WriteInt16BE(Int16 value) { CheckImmutable(); ByteArrayHelpers.WriteInt16BE( _proxy, 0, value); WriteBytes( _proxy, 0, 2); }
public void WriteInt16BE(short value) { this.CheckImmutable(); ByteArrayHelpers.WriteInt16BE(this._proxy, 0, value); this.WriteBytes(this._proxy, 0, 2); }