protected override void OnDecode(ByteBuffer buffer, int count)
{
if (count-- > 0)
{
this.Handle = AmqpCodec.DecodeUInt(buffer);
}
if (count-- > 0)
{
this.DeliveryId = AmqpCodec.DecodeUInt(buffer);
}
if (count-- > 0)
{
this.DeliveryTag = AmqpCodec.DecodeBinary(buffer);
}
if (count-- > 0)
{
this.MessageFormat = AmqpCodec.DecodeUInt(buffer);
}
if (count-- > 0)
{
this.Settled = AmqpCodec.DecodeBoolean(buffer);
}
if (count-- > 0)
{
this.More = AmqpCodec.DecodeBoolean(buffer);
}
if (count-- > 0)
{
this.RcvSettleMode = AmqpCodec.DecodeUByte(buffer);
}
if (count-- > 0)
{
this.State = (DeliveryState)AmqpCodec.DecodeAmqpDescribed(buffer);
}
if (count-- > 0)
{
this.Resume = AmqpCodec.DecodeBoolean(buffer);
}
if (count-- > 0)
{
this.Aborted = AmqpCodec.DecodeBoolean(buffer);
}
if (count-- > 0)
{
this.Batchable = AmqpCodec.DecodeBoolean(buffer);
}
}