GetInt32() public method

public GetInt32 ( uint byteOffset, bool littleEndian = false ) : Int32
byteOffset uint
littleEndian bool
return System.Int32
Exemplo n.º 1
0
 public void TestSetGetInt32() {
     Action f = () => {
         var b = new ArrayBuffer(16);
         var v = new DataView(b);
         v.SetInt32(0, 5);
         v.SetInt32(8, 6);
         Done(v.GetInt32(0) == 5 && v.GetInt32(8) == 6);
     };
     this.Start(f);
 }