| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, 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 // WARNING: |
| 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. |
| 8 |
| 9 /// @domName Int32Array |
| 10 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
ryProvider { |
| 11 |
| 12 Int32Array(int length); |
| 13 |
| 14 Int32Array.fromList(List<int> list); |
| 15 |
| 16 Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]); |
| 17 |
| 18 static final int BYTES_PER_ELEMENT = 4; |
| 19 |
| 20 /** @domName Int32Array.length */ |
| 21 final int length; |
| 22 |
| 23 /** @domName Int32Array.setElements */ |
| 24 void setElements(Object array, [int offset]); |
| 25 |
| 26 /** @domName Int32Array.subarray */ |
| 27 Int32Array subarray(int start, [int end]); |
| 28 } |
| OLD | NEW |