Add start and end params to _TypedBuffer.addAll and .insertAll.
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 .
4 files changed
tree: a653937bbc1d652c8141c9facae8046f1e11ca97
  1. .gitignore
  2. .test_config
  3. AUTHORS
  4. CHANGELOG.md
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. codereview.settings
  9. lib/
  10. pubspec.yaml
  11. test/
README.md

Helper libraries for working with typed data lists.

The typed_data package contains utility functions and classes that makes working with typed data lists easier.

Using

The typed_data package can be imported as

import 'package:typed_data/typed_data.dart';

Typed buffers: Growable typed data lists

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.

Features and bugs

Please file feature requests and bugs at the issue tracker.