Exemple #1
0
        override public object ReadObject()
        {
            int    pos = offs + (int)BaseStream.Position;
            object obj = null;

            if (markReferences)
            {
                pos = db.markObjectReference(buf, pos);
            }
            else
            {
                obj = db.unswizzle(buf, ref pos, typeof(object), parent, recursiveLoading);
            }
            BaseStream.Seek(pos - offs, SeekOrigin.Begin);
            return(obj);
        }