public OctetsStream marshal(OctetsStream os) { Object[] arry = ToArray(); os.compact_uint32((uint)arry.Length); for (int i = 0; i < arry.Length; i++) { os.marshal((Octets)arry[i]); } return os; }
internal void Encode(OctetsStream os) { os.compact_uint32((uint)getProtocolType()).marshal(new OctetsStream().marshal(this)); }