public static DecayEntity DeserializeLength(Stream stream, int length) { DecayEntity decayEntity = Pool.Get <DecayEntity>(); DecayEntity.DeserializeLength(stream, length, decayEntity, false); return(decayEntity); }
public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false) { DecayEntity.DeserializeLength(stream, size, this, isDelta); }