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 interface Uint16Array extends ArrayBufferView |
6 | 6 default Uint16ArrayWrappingImplementation { |
7 interface Uint16Array extends ArrayBufferView { | |
8 | 7 |
9 static final int BYTES_PER_ELEMENT = 2; | 8 static final int BYTES_PER_ELEMENT = 2; |
10 | 9 |
| 10 Uint16Array(int length); |
| 11 |
| 12 Uint16Array.from(List<num> list); |
| 13 |
| 14 Uint16Array.fromBuffer(ArrayBuffer buffer); |
| 15 |
11 int get length(); | 16 int get length(); |
12 | 17 |
13 Uint16Array subarray(int start, [int end]); | 18 Uint16Array subarray(int start, [int end]); |
14 } | 19 } |
OLD | NEW |