OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 interface Int16Array extends ArrayBufferView | |
6 default Int16ArrayWrappingImplementation { | |
7 | |
8 static final int BYTES_PER_ELEMENT = 2; | |
9 | |
10 Int16Array(int length); | |
11 | |
12 Int16Array.from(List<num> list); | |
13 | |
14 Int16Array.fromBuffer(ArrayBuffer buffer); | |
15 | |
16 int get length(); | |
17 | |
18 Int16Array subarray(int start, [int end]); | |
19 } | |
OLD | NEW |