Inheritance: ArrayBufferView
Ejemplo n.º 1
0
 public void TestCtorArrayBufferOffsetLength() {
     Action f = () => {
         var a = new UInt8Array(new byte[] { 1, 2, 3, 4 });
         var v = new DataView(a.Buffer, 1, 1);
         Done(v.ByteLength == 1 && v.GetUInt8(0) == 2);
     };
     this.Start(f);
 }
Ejemplo n.º 2
0
 public void TestCtorArrayBuffer() {
     Action f = () => {
         var a = new UInt8Array(new byte[] { 1, 2, 3, 4 });
         var v = new DataView(a.Buffer);
         Done(v.GetUInt16(0) == 0x0102);
     };
     this.Start(f);
 }
Ejemplo n.º 3
0
 public extern UInt8ClampedArray(UInt8Array array);
Ejemplo n.º 4
0
 public extern void Set(UInt8Array array);
Ejemplo n.º 5
0
 public extern void Set(UInt8Array array, uint offset);
Ejemplo n.º 6
0
 public extern UInt8Array(UInt8Array array);
Ejemplo n.º 7
0
 public extern UInt8ClampedArray(UInt8Array array);
Ejemplo n.º 8
0
 public extern void Set(UInt8Array array, uint offset);
Ejemplo n.º 9
0
 public extern void Set(UInt8Array array);
Ejemplo n.º 10
0
 public extern UInt8Array(UInt8Array array);