typed_data
v1.4.0Utility functions and classes related to the dart:typed_data library.
Package archive: https://pubdev.letsnova.ru/api/archives/typed_data/1.4.0.tar.gz
dart pub add typed_dataReadme
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 using:
import 'package:typed_data/typed_data.dart';
Typed buffers
Typed buffers are growable lists backed by typed arrays. These are similar to
the growable lists created by <int>[] or <double>[], but store typed data
like a typed data list.
Changelog
1.4.0
- The type of the
bufferconstructor argument toTypedDataBufferis nowTypeDataList<E>(instead ofList<E>). While this is breaking change statically there was a runtime cast that makes this change a no-op in practice. - Require Dart 3.5
- Move to
dart-lang/coremonorepo.
1.3.2
- Added package topics to the pubspec file.
- Require Dart 2.17.
1.3.1
- Switch to using
package:lints. - Populate the pubspec
repositoryfield.
1.3.0
- Stable release for null safety.
- Update SDK constraints to
>=2.12.0-0 <3.0.0based on beta release guidelines.
1.2.0
- Add typed queue classes such as
Uint8Queue. These classes implement bothQueueandListwith a highly-efficient typed-data-backed implementation. Theirsublist()methods also return typed data classes. - Update min Dart SDK to
2.4.0.
1.1.6
- Set max SDK version to
<3.0.0, and adjust other dependencies.
1.1.5
- Undo unnecessary SDK version constraint tweak.
1.1.4
- Expand the SDK version constraint to include
<2.0.0-dev.infinity.
1.1.3
- Fix all strong-mode warnings.
1.1.2
- Fix a bug where
TypedDataBuffer.insertAllcould fail to insert some elements of anIterable.
1.1.1
- Optimize
insertAllwith anIterableargument and no end-point.
1.1.0
-
Add
startandendparameters to theaddAll()andinsertAll()methods for the typed data buffer classes. These allow efficient concatenation of slices of existing typed data. -
Make
addAll()for typed data buffer classes more efficient for lists, especially typed data lists.
1.0.0
- ChangeLog starts here
