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 DataTransferItemList { | 7 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { |
| 8 |
| 9 Uint8ClampedArray(int length); |
| 10 |
| 11 Uint8ClampedArray.fromList(List<int> list); |
| 12 |
| 13 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); |
8 | 14 |
9 int get length(); | 15 int get length(); |
10 | 16 |
11 void add(String data, String type); | 17 Uint8ClampedArray subarray(int start, [int end]); |
12 | |
13 void clear(); | |
14 | |
15 DataTransferItem item(int index); | |
16 } | 18 } |
OLD | NEW |