예제 #1
0
파일: Packer.cs 프로젝트: FPCollab/General
        protected virtual object Unpack(Stream stream, CachedType ct)
        {
            if (!ct.IsValueType && stream.ReadInt8() == 0)
            {
                return(null);
            }

            return(ct.ReadFunc(this, ct.Type, stream));
        }