protected override void OnDecode(ByteBuffer buffer, int count) { if (count-- > 0) { this.Error = AmqpCodec.DecodeKnownType<Error>(buffer); } }