public static void encodeCProducerUnit(CProducerUnit p, CEncodedObjectOutputBufferI output) { output.openObject(TAG); p.encodeAttributes(output); p.encodeChildren(output); output.objectEnd(); }
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); }