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

Unified Diff: lib/html/doc/interface/Uint8Array.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: lib/html/doc/interface/Uint8Array.dart
diff --git a/lib/html/doc/interface/Uint8Array.dart b/lib/html/doc/interface/Uint8Array.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b3407bfb301d6226b95a4552a51f947bfeaa6c04
--- /dev/null
+++ b/lib/html/doc/interface/Uint8Array.dart
@@ -0,0 +1,26 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+/// @domName Uint8Array
+interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFactoryProvider {
+
+ Uint8Array(int length);
+
+ Uint8Array.fromList(List<int> list);
+
+ Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+
+ static final int BYTES_PER_ELEMENT = 1;
+
+ /** @domName Uint8Array.length */
+ final int length;
+
+ /** @domName Uint8Array.setElements */
+ void setElements(Object array, [int offset]);
+
+ /** @domName Uint8Array.subarray */
+ Uint8Array subarray(int start, [int end]);
+}

Powered by Google App Engine
This is Rietveld 408576698