Microsoft.Azure.Amqp.Framing.Transfer.OnEncode C# (CSharp) Method

OnEncode() protected method

protected OnEncode ( System.ByteBuffer buffer ) : void
buffer System.ByteBuffer
return void
        protected override void OnEncode(ByteBuffer buffer)
        {
            AmqpCodec.EncodeUInt(this.Handle, buffer);
            AmqpCodec.EncodeUInt(this.DeliveryId, buffer);
            AmqpCodec.EncodeBinary(this.DeliveryTag, buffer);
            AmqpCodec.EncodeUInt(this.MessageFormat, buffer);
            AmqpCodec.EncodeBoolean(this.Settled, buffer);
            AmqpCodec.EncodeBoolean(this.More, buffer);
            AmqpCodec.EncodeUByte(this.RcvSettleMode, buffer);
            AmqpCodec.EncodeSerializable(this.State, buffer);
            AmqpCodec.EncodeBoolean(this.Resume, buffer);
            AmqpCodec.EncodeBoolean(this.Aborted, buffer);
            AmqpCodec.EncodeBoolean(this.Batchable, buffer);
        }