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

Side by Side Diff: client/dom/generated/src/interface/Float32Array.dart

Issue 8883007: Revert "Revert "Implement typed array constructors."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 // WARNING: Do not edit - generated code.
6 6
7 interface Float32Array extends ArrayBufferView { 7 interface Float32Array extends ArrayBufferView, List<num> factory _TypedArrayFac toryProvider {
8
9 Float32Array(int length);
10
11 Float32Array.fromList(List<num> list);
12
13 Float32Array.fromBuffer(ArrayBuffer buffer);
8 14
9 static final int BYTES_PER_ELEMENT = 4; 15 static final int BYTES_PER_ELEMENT = 4;
10 16
11 int get length(); 17 int get length();
12 18
13 Float32Array subarray(int start, [int end]); 19 Float32Array subarray(int start, [int end]);
14 } 20 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/Uint8Array.dart ('k') | client/dom/generated/src/interface/Float64Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698