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

Side by Side Diff: sdk/lib/scalarlist/byte_arrays.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 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
« no previous file with comments | « sdk/lib/mirrors/mirrors.dart ('k') | sdk/lib/scalarlist/scalarlist.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.scalarlist;
6
5 /** 7 /**
6 * A random-access sequence of bytes that also provides random access to 8 * A random-access sequence of bytes that also provides random access to
7 * the fixed-width integers and floating point numbers represented by 9 * the fixed-width integers and floating point numbers represented by
8 * those bytes. Byte arrays may be used to pack and unpack data from 10 * those bytes. Byte arrays may be used to pack and unpack data from
9 * external sources (such as networks or files systems), and to process 11 * external sources (such as networks or files systems), and to process
10 * large quantities of numerical data more efficiently than would be possible 12 * large quantities of numerical data more efficiently than would be possible
11 * with ordinary [List] implementations. Byte arrays can save space, by 13 * with ordinary [List] implementations. Byte arrays can save space, by
12 * eliminating the need for object headers, and time, by eliminating the 14 * eliminating the need for object headers, and time, by eliminating the
13 * need for data copies. Finally, Byte arrays may be used to intentionally 15 * need for data copies. Finally, Byte arrays may be used to intentionally
14 * reinterpret the bytes representing one arithmetic type as another. 16 * reinterpret the bytes representing one arithmetic type as another.
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 * is a view of another byte array, this constructor will throw 695 * is a view of another byte array, this constructor will throw
694 * [ArgumentError] if the implicit starting position in the 696 * [ArgumentError] if the implicit starting position in the
695 * "ultimately backing" byte array is not divisible by 8. In plain terms, 697 * "ultimately backing" byte array is not divisible by 8. In plain terms,
696 * this constructor throws [ArgumentError] if the specified 698 * this constructor throws [ArgumentError] if the specified
697 * region does not contain an integral number of "float64s," or if it 699 * region does not contain an integral number of "float64s," or if it
698 * is not "float64-aligned." 700 * is not "float64-aligned."
699 */ 701 */
700 external factory Float64List.view(ByteArray array, 702 external factory Float64List.view(ByteArray array,
701 [int start = 0, int length]); 703 [int start = 0, int length]);
702 } 704 }
OLDNEW
« no previous file with comments | « sdk/lib/mirrors/mirrors.dart ('k') | sdk/lib/scalarlist/scalarlist.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698