Inheritance: ArrayBufferView
 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);
 }
 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);
 }
 public extern UInt8ClampedArray(UInt8Array array);
 public extern void Set(UInt8Array array);
 public extern void Set(UInt8Array array, uint offset);
 public extern UInt8Array(UInt8Array array);
 public extern UInt8ClampedArray(UInt8Array array);
 public extern void Set(UInt8Array array, uint offset);
 public extern void Set(UInt8Array array);
示例#10
0
 public extern UInt8Array(UInt8Array array);