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