| OLD | NEW |
| 1 | 1 |
| 2 class Int8Array extends ArrayBufferView implements List<int> native "Int8Array"
{ | 2 class Int8Array extends ArrayBufferView native "*Int8Array" { |
| 3 | |
| 4 factory Int8Array(int length) => _construct(length); | |
| 5 | |
| 6 factory Int8Array.fromList(List<int> list) => _construct(list); | |
| 7 | |
| 8 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); | |
| 9 | |
| 10 static _construct(arg) native 'return new Int8Array(arg);'; | |
| 11 | 3 |
| 12 static final int BYTES_PER_ELEMENT = 1; | 4 static final int BYTES_PER_ELEMENT = 1; |
| 13 | 5 |
| 14 int length; | 6 int length; |
| 15 | 7 |
| 16 int operator[](int index) native; | |
| 17 | |
| 18 void operator[]=(int index, int value) native; | |
| 19 | |
| 20 Int8Array subarray(int start, [int end = null]) native; | 8 Int8Array subarray(int start, [int end = null]) native; |
| 21 } | 9 } |
| OLD | NEW |