| 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 Uint8ClampedArray | |
| 10 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { | |
| 11 | |
| 12 Uint8ClampedArray(int length); | |
| 13 | |
| 14 Uint8ClampedArray.fromList(List<int> list); | |
| 15 | |
| 16 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length])
; | |
| 17 | |
| 18 /** @domName Uint8ClampedArray.length */ | |
| 19 final int length; | |
| 20 | |
| 21 /** @domName Uint8ClampedArray.setElements */ | |
| 22 void setElements(Object array, [int offset]); | |
| 23 | |
| 24 /** @domName Uint8ClampedArray.subarray */ | |
| 25 Uint8ClampedArray subarray(int start, [int end]); | |
| 26 } | |
| OLD | NEW |