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

Unified Diff: lib/html/doc/interface/DataView.dartdoc

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
« no previous file with comments | « lib/html/doc/interface/DataTransferItemList.dartdoc ('k') | lib/html/doc/interface/Database.dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/DataView.dartdoc
diff --git a/lib/html/doc/interface/DataView.dartdoc b/lib/html/doc/interface/DataView.dartdoc
new file mode 100644
index 0000000000000000000000000000000000000000..b3c87fbb4bb7e37015bed476499ef2d7659a8f9b
--- /dev/null
+++ b/lib/html/doc/interface/DataView.dartdoc
@@ -0,0 +1,59 @@
+// 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:
+// This file contains documentation that is merged into the real source.
+// Do not make code changes here.
+
+/// @domName DataView
+interface DataView extends ArrayBufferView {
+
+ /** @domName DataView.getFloat32 */
+ num getFloat32(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getFloat64 */
+ num getFloat64(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getInt16 */
+ int getInt16(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getInt32 */
+ int getInt32(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getInt8 */
+ Object getInt8();
+
+ /** @domName DataView.getUint16 */
+ int getUint16(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getUint32 */
+ int getUint32(int byteOffset, [bool littleEndian]);
+
+ /** @domName DataView.getUint8 */
+ Object getUint8();
+
+ /** @domName DataView.setFloat32 */
+ void setFloat32(int byteOffset, num value, [bool littleEndian]);
+
+ /** @domName DataView.setFloat64 */
+ void setFloat64(int byteOffset, num value, [bool littleEndian]);
+
+ /** @domName DataView.setInt16 */
+ void setInt16(int byteOffset, int value, [bool littleEndian]);
+
+ /** @domName DataView.setInt32 */
+ void setInt32(int byteOffset, int value, [bool littleEndian]);
+
+ /** @domName DataView.setInt8 */
+ void setInt8();
+
+ /** @domName DataView.setUint16 */
+ void setUint16(int byteOffset, int value, [bool littleEndian]);
+
+ /** @domName DataView.setUint32 */
+ void setUint32(int byteOffset, int value, [bool littleEndian]);
+
+ /** @domName DataView.setUint8 */
+ void setUint8();
+}
« no previous file with comments | « lib/html/doc/interface/DataTransferItemList.dartdoc ('k') | lib/html/doc/interface/Database.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698