示例#1
0
        public Deserializer(Stream stream)
        {
            if (stream == null) {
                throw new ArgumentNullException("stream");
            }

            reader = new ValueReader(stream);
            classDefs = new ListRefMap<ClassDef>();
            objectRefs = new ListRefMap<object>();
            typeNameRefs = new ListRefMap<string>();
        }
示例#2
0
        public Deserializer(Stream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            reader       = new ValueReader(stream);
            classDefs    = new ListRefMap <ClassDef>();
            objectRefs   = new ListRefMap <object>();
            typeNameRefs = new ListRefMap <string>();
        }