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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 interface Uint8Array extends ArrayBufferView
6 6 default Uint8ArrayWrappingImplementation {
7 interface Uint8Array extends ArrayBufferView {
8 7
9 static final int BYTES_PER_ELEMENT = 1; 8 static final int BYTES_PER_ELEMENT = 1;
10 9
10 Uint8Array(int length);
11
12 Uint8Array.from(List<num> list);
13
14 Uint8Array.fromBuffer(ArrayBuffer buffer);
15
11 int get length(); 16 int get length();
12 17
13 Uint8Array subarray(int start, [int end]); 18 Uint8Array subarray(int start, [int end]);
14 } 19 }
OLDNEW
« 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