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