コード例 #1
0
        public static SleepingBag DeserializeLength(Stream stream, int length)
        {
            SleepingBag sleepingBag = Pool.Get <SleepingBag>();

            SleepingBag.DeserializeLength(stream, length, sleepingBag, false);
            return(sleepingBag);
        }
コード例 #2
0
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     SleepingBag.DeserializeLength(stream, size, this, isDelta);
 }