Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: client/html/src/Uint8Array.dart

Issue 9113039: Add constructors for Float32Array and friends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/html/src/Uint8Array.dart
diff --git a/client/html/generated/src/interface/Uint8Array.dart b/client/html/src/Uint8Array.dart
similarity index 62%
rename from client/html/generated/src/interface/Uint8Array.dart
rename to client/html/src/Uint8Array.dart
index 56330e866f43f6407534f4ca69f67a5169305d7f..77118ebf12d31e49aaf91958206f5130eaace928 100644
--- a/client/html/generated/src/interface/Uint8Array.dart
+++ b/client/html/src/Uint8Array.dart
@@ -2,12 +2,17 @@
// 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.
-
-interface Uint8Array extends ArrayBufferView {
+interface Uint8Array extends ArrayBufferView
+ default Uint8ArrayWrappingImplementation {
static final int BYTES_PER_ELEMENT = 1;
+ Uint8Array(int length);
+
+ Uint8Array.from(List<num> list);
+
+ Uint8Array.fromBuffer(ArrayBuffer buffer);
+
int get length();
Uint8Array subarray(int start, [int end]);
« no previous file with comments | « client/html/src/Uint32ArrayWrappingImplementation.dart ('k') | client/html/src/Uint8ArrayWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698