protected override void OnDecode(ByteBuffer buffer, int count) { if (count-- > 0) { this.Address = Address.Decode(buffer); } if (count-- > 0) { this.Durable = AmqpCodec.DecodeUInt(buffer); } if (count-- > 0) { this.ExpiryPolicy = AmqpCodec.DecodeSymbol(buffer); } if (count-- > 0) { this.Timeout = AmqpCodec.DecodeUInt(buffer); } if (count-- > 0) { this.Dynamic = AmqpCodec.DecodeBoolean(buffer); } if (count-- > 0) { this.DynamicNodeProperties = AmqpCodec.DecodeMap <Fields>(buffer); } if (count-- > 0) { this.DistributionMode = AmqpCodec.DecodeSymbol(buffer); } if (count-- > 0) { this.FilterSet = AmqpCodec.DecodeMap <FilterSet>(buffer); } if (count-- > 0) { this.DefaultOutcome = (Outcome)AmqpCodec.DecodeAmqpDescribed(buffer); } if (count-- > 0) { this.Outcomes = AmqpCodec.DecodeMultiple <AmqpSymbol>(buffer); } if (count-- > 0) { this.Capabilities = AmqpCodec.DecodeMultiple <AmqpSymbol>(buffer); } }
protected override void OnDecode(ByteBuffer buffer, int count) { if (count-- > 0) { this.Address = Address.Decode(buffer); } if (count-- > 0) { this.Durable = AmqpCodec.DecodeUInt(buffer); } if (count-- > 0) { this.ExpiryPolicy = AmqpCodec.DecodeSymbol(buffer); } if (count-- > 0) { this.Timeout = AmqpCodec.DecodeUInt(buffer); } if (count-- > 0) { this.Dynamic = AmqpCodec.DecodeBoolean(buffer); } if (count-- > 0) { this.DynamicNodeProperties = AmqpCodec.DecodeMap <Fields>(buffer); } if (count-- > 0) { this.Capabilities = AmqpCodec.DecodeMultiple <AmqpSymbol>(buffer); } }
protected override void OnDecode(ByteBuffer buffer, int count) { if (count-- > 0) { this.MessageId = MessageId.Decode(buffer); } if (count-- > 0) { this.UserId = AmqpCodec.DecodeBinary(buffer); } if (count-- > 0) { this.To = Address.Decode(buffer); } if (count-- > 0) { this.Subject = AmqpCodec.DecodeString(buffer); } if (count-- > 0) { this.ReplyTo = Address.Decode(buffer); } if (count-- > 0) { this.CorrelationId = MessageId.Decode(buffer); } if (count-- > 0) { this.ContentType = AmqpCodec.DecodeSymbol(buffer); } if (count-- > 0) { this.ContentEncoding = AmqpCodec.DecodeSymbol(buffer); } if (count-- > 0) { this.AbsoluteExpiryTime = AmqpCodec.DecodeTimeStamp(buffer); } if (count-- > 0) { this.CreationTime = AmqpCodec.DecodeTimeStamp(buffer); } if (count-- > 0) { this.GroupId = AmqpCodec.DecodeString(buffer); } if (count-- > 0) { this.GroupSequence = AmqpCodec.DecodeUInt(buffer); } if (count-- > 0) { this.ReplyToGroupId = AmqpCodec.DecodeString(buffer); } }
protected override void OnDecode(ByteBuffer buffer, int count) { int num = count; count = num - 1; if (num > 0) { this.MessageId = Microsoft.ServiceBus.Messaging.Amqp.Framing.MessageId.Decode(buffer); } int num1 = count; count = num1 - 1; if (num1 > 0) { this.UserId = AmqpCodec.DecodeBinary(buffer); } int num2 = count; count = num2 - 1; if (num2 > 0) { this.To = Address.Decode(buffer); } int num3 = count; count = num3 - 1; if (num3 > 0) { this.Subject = AmqpCodec.DecodeString(buffer); } int num4 = count; count = num4 - 1; if (num4 > 0) { this.ReplyTo = Address.Decode(buffer); } int num5 = count; count = num5 - 1; if (num5 > 0) { this.CorrelationId = Microsoft.ServiceBus.Messaging.Amqp.Framing.MessageId.Decode(buffer); } int num6 = count; count = num6 - 1; if (num6 > 0) { this.ContentType = AmqpCodec.DecodeSymbol(buffer); } int num7 = count; count = num7 - 1; if (num7 > 0) { this.ContentEncoding = AmqpCodec.DecodeSymbol(buffer); } int num8 = count; count = num8 - 1; if (num8 > 0) { this.AbsoluteExpiryTime = AmqpCodec.DecodeTimeStamp(buffer); } int num9 = count; count = num9 - 1; if (num9 > 0) { this.CreationTime = AmqpCodec.DecodeTimeStamp(buffer); } int num10 = count; count = num10 - 1; if (num10 > 0) { this.GroupId = AmqpCodec.DecodeString(buffer); } int num11 = count; count = num11 - 1; if (num11 > 0) { this.GroupSequence = AmqpCodec.DecodeUInt(buffer); } int num12 = count; count = num12 - 1; if (num12 > 0) { this.ReplyToGroupId = AmqpCodec.DecodeString(buffer); } }