| Index: client/html/src/Uint32ArrayWrappingImplementation.dart
|
| diff --git a/client/html/generated/src/wrapping/_Uint32ArrayWrappingImplementation.dart b/client/html/src/Uint32ArrayWrappingImplementation.dart
|
| similarity index 54%
|
| rename from client/html/generated/src/wrapping/_Uint32ArrayWrappingImplementation.dart
|
| rename to client/html/src/Uint32ArrayWrappingImplementation.dart
|
| index bde1a2af85f85b7730bfe2c83a97c9fd9b1ce0b2..2ff34d2bf40d263640796c95c50541e471f22b06 100644
|
| --- a/client/html/generated/src/wrapping/_Uint32ArrayWrappingImplementation.dart
|
| +++ b/client/html/src/Uint32ArrayWrappingImplementation.dart
|
| @@ -2,11 +2,21 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| class Uint32ArrayWrappingImplementation extends ArrayBufferViewWrappingImplementation implements Uint32Array {
|
| Uint32ArrayWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
|
|
|
| + factory Uint32ArrayWrappingImplementation(int length) =>
|
| + LevelDom.wrapUint32Array(new dom.Uint32Array(length));
|
| +
|
| + factory Uint32ArrayWrappingImplementation.from(List<num> list) =>
|
| + // TODO(nweiz): when there's a cross-platform name for the native
|
| + // implementation of List, check if [list] is native and if not convert it
|
| + // to a native list before sending it to the JS constructor.
|
| + LevelDom.wrapUint32Array(new dom.Uint32Array.fromList(list));
|
| +
|
| + factory Uint32ArrayWrappingImplementation.fromBuffer(ArrayBuffer buffer) =>
|
| + LevelDom.wrapUint32Array(new dom.Uint32Array.fromBuffer(LevelDom.unwrap(buffer)));
|
| +
|
| int get length() { return _ptr.length; }
|
|
|
| Uint32Array subarray(int start, [int end]) {
|
|
|