commit | 4a1eb49d4f2576044d71f2dd6c3f8e619f6678a9 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Oct 27 14:27:51 2015 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Oct 27 14:27:51 2015 -0700 |
tree | a653937bbc1d652c8141c9facae8046f1e11ca97 | |
parent | caf61acf021c664b21de1ae06a15b84abb1dd46f [diff] |
Add _TypedDataBuffer.addRange. This is useful for concatenating ranges of existing lists, as comes up occasionally when implementing converters. Also make _TypedDataBuffer.addAll more efficient for lists. R=lrn@google.com Review URL: https://codereview.chromium.org//1404443005 .
The typed_data
package contains utility functions and classes that makes working with typed data lists easier.
The typed_data
package can be imported as
import 'package:typed_data/typed_data.dart';
Typed buffers are contains growable lists backed by typed arrays. These are similar to the growable lists returned by new List()
, but stores typed data like a typed data list.
Please file feature requests and bugs at the issue tracker.