OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
oryProvider { | 7 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
oryProvider { |
8 | 8 |
9 Uint16Array(int length); | 9 Uint16Array(int length); |
10 | 10 |
11 Uint16Array.fromList(List<int> list); | 11 Uint16Array.fromList(List<int> list); |
12 | 12 |
13 Uint16Array.fromBuffer(ArrayBuffer buffer); | 13 Uint16Array.fromBuffer(ArrayBuffer buffer); |
14 | 14 |
15 static final int BYTES_PER_ELEMENT = 2; | 15 static final int BYTES_PER_ELEMENT = 2; |
16 | 16 |
17 int get length(); | 17 final int length; |
18 | 18 |
19 void setElements(Object array, [int offset]); | 19 void setElements(Object array, [int offset]); |
20 | 20 |
21 Uint16Array subarray(int start, [int end]); | 21 Uint16Array subarray(int start, [int end]); |
22 } | 22 } |
OLD | NEW |