OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 class _Uint8ClampedArrayWrappingImplementation extends _Uint8ArrayWrappingImplem
entation implements Uint8ClampedArray { |
| 8 _Uint8ClampedArrayWrappingImplementation() : super() {} |
| 9 |
| 10 static create__Uint8ClampedArrayWrappingImplementation() native { |
| 11 return new _Uint8ClampedArrayWrappingImplementation(); |
| 12 } |
| 13 |
| 14 int get length() { return _get_length_Uint8ClampedArray(this); } |
| 15 static int _get_length_Uint8ClampedArray(var _this) native; |
| 16 |
| 17 Uint8ClampedArray subarray(int start, [int end = null]) { |
| 18 if (end === null) { |
| 19 return _subarray_Uint8ClampedArray(this, start); |
| 20 } else { |
| 21 return _subarray_Uint8ClampedArray_2(this, start, end); |
| 22 } |
| 23 } |
| 24 static Uint8ClampedArray _subarray_Uint8ClampedArray(receiver, start) native; |
| 25 static Uint8ClampedArray _subarray_Uint8ClampedArray_2(receiver, start, end) n
ative; |
| 26 |
| 27 String get typeName() { return "Uint8ClampedArray"; } |
| 28 } |
OLD | NEW |