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 Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
yProvider { | 7 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
yProvider { |
8 | 8 |
9 Int8Array(int length); | 9 Int8Array(int length); |
10 | 10 |
11 Int8Array.fromList(List<int> list); | 11 Int8Array.fromList(List<int> list); |
12 | 12 |
13 Int8Array.fromBuffer(ArrayBuffer buffer); | 13 Int8Array.fromBuffer(ArrayBuffer buffer); |
14 | 14 |
15 static final int BYTES_PER_ELEMENT = 1; | 15 static final int BYTES_PER_ELEMENT = 1; |
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 Int8Array subarray(int start, [int end]); | 21 Int8Array subarray(int start, [int end]); |
22 } | 22 } |
OLD | NEW |