OLD | NEW |
1 | 1 |
2 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L
ist<int> native "*Uint8ClampedArray" { | 2 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L
ist<int> native "*Uint8ClampedArray" { |
3 | 3 |
4 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length)
; | 4 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length)
; |
5 | 5 |
6 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); | 6 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); |
7 | 7 |
8 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); | 8 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); |
9 | 9 |
10 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; | 10 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; |
11 | 11 |
12 final int length; | 12 // Use implementation from Uint8Array. |
| 13 // final int length; |
13 | 14 |
14 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; | 15 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; |
15 } | 16 } |
OLD | NEW |