示例#1
0
 public static int make(global::haxe.io.Bytes b)
 {
                 #line 72 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
     global::haxe.crypto.Adler32 a = new global::haxe.crypto.Adler32();
     a.update(b, 0, b.length);
                 #line 74 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
     return(a.@get());
 }
示例#2
0
 protected static void __hx_ctor_haxe_crypto_Adler32(global::haxe.crypto.Adler32 __hx_this)
 {
     unchecked {
                         #line 33 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         __hx_this.a1 = 1;
         __hx_this.a2 = 0;
     }
                 #line default
 }
示例#3
0
 public virtual bool @equals(global::haxe.crypto.Adler32 a)
 {
                 #line 53 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
     if ((a.a1 == this.a1))
     {
                         #line 53 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         return(a.a2 == this.a2);
     }
     else
     {
                         #line 53 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         return(false);
     }
 }
示例#4
0
 public static global::haxe.crypto.Adler32 read(global::haxe.io.Input i)
 {
     unchecked {
                         #line 61 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         global::haxe.crypto.Adler32 a = new global::haxe.crypto.Adler32();
         int a2a = i.readByte();
                         #line 63 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         int a2b = i.readByte();
         int a1a = i.readByte();
                         #line 65 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         int a1b = i.readByte();
         a.a1 = ((a1a << 8) | a1b);
                         #line 67 "C:\\HaxeToolkit\\haxe\\std\\haxe\\crypto\\Adler32.hx"
         a.a2 = ((a2a << 8) | a2b);
         return(a);
     }
                 #line default
 }