typed_data

v1.4.0

Utility 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

Installdart pub add typed_data

Readme

Dart CI pub package package publisher

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 buffer constructor argument to TypedDataBuffer is now TypeDataList<E> (instead of List<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/core monorepo.

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 repository field.

1.3.0

  • Stable release for null safety.
  • Update SDK constraints to >=2.12.0-0 <3.0.0 based on beta release guidelines.

1.2.0

  • Add typed queue classes such as Uint8Queue. These classes implement both Queue and List with a highly-efficient typed-data-backed implementation. Their sublist() 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.insertAll could fail to insert some elements of an Iterable.

1.1.1

  • Optimize insertAll with an Iterable argument and no end-point.

1.1.0

  • Add start and end parameters to the addAll() and insertAll() 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