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

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

Issue 11434030: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
7 /** 5 /**
8 * A random-access sequence of bytes that also provides random access to 6 * A random-access sequence of bytes that also provides random access to
9 * the fixed-width integers and floating point numbers represented by 7 * the fixed-width integers and floating point numbers represented by
10 * those bytes. Byte arrays may be used to pack and unpack data from 8 * those bytes. Byte arrays may be used to pack and unpack data from
11 * external sources (such as networks or files systems), and to process 9 * external sources (such as networks or files systems), and to process
12 * large quantities of numerical data more efficiently than would be possible 10 * large quantities of numerical data more efficiently than would be possible
13 * with ordinary [List] implementations. Byte arrays can save space, by 11 * with ordinary [List] implementations. Byte arrays can save space, by
14 * eliminating the need for object headers, and time, by eliminating the 12 * eliminating the need for object headers, and time, by eliminating the
15 * need for data copies. Finally, Byte arrays may be used to intentionally 13 * need for data copies. Finally, Byte arrays may be used to intentionally
16 * reinterpret the bytes representing one arithmetic type as another. 14 * reinterpret the bytes representing one arithmetic type as another.
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 * [start] of the region is not divisible by 8. If, however, [array] 662 * [start] of the region is not divisible by 8. If, however, [array]
665 * is a view of another byte array, this constructor will throw 663 * is a view of another byte array, this constructor will throw
666 * [ArgumentError] if the implicit starting position in the 664 * [ArgumentError] if the implicit starting position in the
667 * "ultimately backing" byte array is not divisible by 8. In plain terms, 665 * "ultimately backing" byte array is not divisible by 8. In plain terms,
668 * this constructor throws [ArgumentError] if the specified 666 * this constructor throws [ArgumentError] if the specified
669 * region does not contain an integral number of "float64s," or if it 667 * region does not contain an integral number of "float64s," or if it
670 * is not "float64-aligned." 668 * is not "float64-aligned."
671 */ 669 */
672 external factory Float64List.view(ByteArray array, [int start, int length]); 670 external factory Float64List.view(ByteArray array, [int start, int length]);
673 } 671 }
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