Add some ArgumentError and RangeError constructors that capture more information.

Switch some uses of RangeError.range to RangeError.index.
Fix bug in Queue where elementAt allowed `length` as input.

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//711003002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/typed_data@41653 260f80e4-7a28-3924-810f-c04153c831b5
2 files changed
tree: 04d2dc9fe8be1cffa8c9d3c32b5ef2f6840302be
  1. lib/
  2. test/
  3. LICENSE
  4. pubspec.yaml
  5. README.md
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.