示例#1
0
 public static void encodeCProducerUnit(CProducerUnit p, CEncodedObjectOutputBufferI output)
 {
     output.openObject(TAG);
     p.encodeAttributes(output);
     p.encodeChildren(output);
     output.objectEnd();
 }
示例#2
0
        public static CProducerUnit decodeCProducerUnit(CEncodedObjectInputBufferI bin, AIQueryI query)
        {
            bin.nextTag(TAG);
            Dictionary <string, string> A = bin.getAttributes();
            var ret = new CProducerUnit(A, bin, query);

            bin.endTag(TAG);
            return(ret);
        }