示例#1
0
        public static void __hx_ctor_haxe_Unserializer(global::haxe.Unserializer __hx_this, string buf)
        {
            __hx_this.buf    = buf;
            __hx_this.length = buf.Length;
            __hx_this.pos    = 0;
            __hx_this.scache = new global::Array <object>();
            __hx_this.cache  = new global::Array <object>();
            object r = global::haxe.Unserializer.DEFAULT_RESOLVER;

            if ((r == null))
            {
                r = new global::haxe._Unserializer.DefaultResolver();
                global::haxe.Unserializer.DEFAULT_RESOLVER = r;
            }

            __hx_this.resolver = r;
        }
示例#2
0
 public virtual void hxUnserialize(global::haxe.Unserializer u)
 {
     this._name = global::haxe.lang.Runtime.toString(u.unserialize());
     this._age  = ((int)(global::haxe.lang.Runtime.toInt(u.unserialize())));
 }