public SerializationDumper(string path)
        {
            InitOk = File.Exists(path);
            var data = File.ReadAllBytes(path);

            _bb = new ByteBuffer2(data);

            if (!InitOk)
            {
                return;
            }

            _indent                = "";
            _handleValue           = 0x7e0000;
            _classDataDescriptions = new ArrayList();
            _classData             = new ArrayList();
        }
Beispiel #2
0
        public SerializationDumper(string path)
        {
            InitOk = File.Exists(path);
            var data = File.ReadAllBytes(path);

            _bb = new ByteBuffer2(data);

            if (!InitOk)
            {
                return;
            }

            _indent                = "";
            _handleValue           = 0x7e0000;
            _classDataDescriptions = new List <ClassDataDesc>();
            _classData             = new List <ClassDataDesc>();
            _globalObjects         = new Dictionary <int, object>();
        }