public override void Write(ByteArray by) { base.Write(by); ushort count = (ushort)list.Count; by.WriteUShort(count); for (int i = 0; i < count; ++i) { RelationInfo obj = list[i]; obj.Write(by); } }
public override void Write(ByteArray by) { base.Write(by); by.WriteLong(char_idx); relation_info.Write(by); }