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

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

Issue 8889001: Implement typed array constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment 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 Int16Array extends ArrayBufferView { 7 interface Int16Array extends ArrayBufferView, List<int> factory _TypedArrayFacto ryProvider {
8
9 Int16Array(int length);
10
11 Int16Array.fromList(List<int> list);
12
13 Int16Array.fromBuffer(ArrayBuffer buffer);
8 14
9 static final int BYTES_PER_ELEMENT = 2; 15 static final int BYTES_PER_ELEMENT = 2;
10 16
11 int get length(); 17 int get length();
12 18
13 Int16Array subarray(int start, [int end]); 19 Int16Array subarray(int start, [int end]);
14 } 20 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/Float64Array.dart ('k') | client/dom/generated/src/interface/Int32Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698