Esempio n. 1
0
 public JSImplGuid(byte[] b)
 {
     JSImplGuid.CheckArray(b, 16);
     this._a = BitConverterLE.ToInt32(b, 0);
     this._b = BitConverterLE.ToInt16(b, 4);
     this._c = BitConverterLE.ToInt16(b, 6);
     this._d = b[8];
     this._e = b[9];
     this._f = b[10];
     this._g = b[11];
     this._h = b[12];
     this._i = b[13];
     this._j = b[14];
     this._k = b[15];
 }
Esempio n. 2
0
 public JSImplGuid(int a, short b, short c, byte[] d)
 {
     JSImplGuid.CheckArray(d, 8);
     this._a = a;
     this._b = b;
     this._c = c;
     this._d = d[0];
     this._e = d[1];
     this._f = d[2];
     this._g = d[3];
     this._h = d[4];
     this._i = d[5];
     this._j = d[6];
     this._k = d[7];
 }