public static RelationshipManager Deserialize(Stream stream) { RelationshipManager relationshipManager = Pool.Get <RelationshipManager>(); RelationshipManager.Deserialize(stream, relationshipManager, false); return(relationshipManager); }
public static RelationshipManager Deserialize(byte[] buffer, RelationshipManager instance, bool isDelta = false) { using (MemoryStream memoryStream = new MemoryStream(buffer)) { RelationshipManager.Deserialize(memoryStream, instance, isDelta); } return(instance); }
public static RelationshipManager Deserialize(byte[] buffer) { RelationshipManager relationshipManager = Pool.Get <RelationshipManager>(); using (MemoryStream memoryStream = new MemoryStream(buffer)) { RelationshipManager.Deserialize(memoryStream, relationshipManager, false); } return(relationshipManager); }
public void FromProto(Stream stream, bool isDelta = false) { RelationshipManager.Deserialize(stream, this, isDelta); }