Example #1
0
        public static AmqpDescribed DecodeAmqpDescribed(ByteBuffer buffer, Dictionary <string, Func <AmqpDescribed> > byName, Dictionary <ulong, Func <AmqpDescribed> > byCode)
        {
            AmqpDescribed amqpDescribed = AmqpCodec.CreateAmqpDescribed(buffer, byName, byCode);

            if (amqpDescribed != null)
            {
                amqpDescribed.DecodeValue(buffer);
            }
            return(amqpDescribed);
        }
Example #2
0
 public static AmqpDescribed CreateAmqpDescribed(ByteBuffer buffer)
 {
     return(AmqpCodec.CreateAmqpDescribed(buffer, AmqpCodec.knownTypesByName, AmqpCodec.knownTypesByCode));
 }