public override void Serialize(IDataWriter writer) { sellerDescriptor.Serialize(writer); writer.WriteUShort((ushort)objectsInfos.Length); foreach (var entry in objectsInfos) { entry.Serialize(writer); } }
public override void Serialize(ICustomDataOutput writer) { sellerDescriptor.Serialize(writer); writer.WriteUShort((ushort)objectsInfos.Count()); foreach (var entry in objectsInfos) { entry.Serialize(writer); } }
public override void Serialize(IWriter writer) { sellerDescriptor.Serialize(writer); writer.WriteShort((short)objectsInfos.Count()); foreach (var entry in objectsInfos) { entry.Serialize(writer); } }
public override void Serialize(IDataWriter writer) { sellerDescriptor.Serialize(writer); var objectsInfos_before = writer.Position; var objectsInfos_count = 0; writer.WriteShort(0); foreach (var entry in objectsInfos) { entry.Serialize(writer); objectsInfos_count++; } var objectsInfos_after = writer.Position; writer.Seek((int)objectsInfos_before); writer.WriteShort((short)objectsInfos_count); writer.Seek((int)objectsInfos_after); }
public override void Serialize(ICustomDataOutput writer) { buyerDescriptor.Serialize(writer); }
public override void Serialize(IDataWriter writer) { buyerDescriptor.Serialize(writer); }
public override void Serialize(BigEndianWriter writer) { buyerDescriptor.Serialize(writer); }