p-hatan/ mirror

pub repository

mirror.p-hatan.com

typed_data

1.4.0

Utility functions and classes related to the dart:typed_data library.

Cached in Iran · Upstream SHA-256 matched

Download archive

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

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add typed_data
pubspec.yaml
name: typed_data
version: 1.4.0
description: >-
  Utility functions and classes related to the dart:typed_data library.
repository: https://github.com/dart-lang/core/tree/main/pkgs/typed_data

topics:
  - data-structures

environment:
  sdk: ^3.5.0

dependencies:
  collection: ^1.15.0

dev_dependencies:
  dart_flutter_team_lints: ^3.0.0
  test: ^1.16.6

Version history

VersionPublishedArchiveSHA-256
0.9.02013-12-19T13:10:16.115880ZCached2a979de0c10d59f34ec2b779633373d915d71da250b274905046708af62fdc23
1.0.02014-08-26T08:45:20.908470ZCachedc37c36cdd9e6a3d121bf0e61cd2fe883ce674ebaa90ae731c1a71b65ae3352d0
1.1.02015-10-28T20:50:51.983ZCached0823f9750ff09a2e4afb1504394dac546aa52276f00653ed566feb4f415e2135
1.1.12015-10-29T12:45:49.837ZCachedcc9084bd1af3bfbe920b9e07abd3e204d79c59e6b1a81897eda1dc849fc7cd47
1.1.22016-02-24T18:45:39.949ZCached7748268951d0aa72c7f965cda76291c7286e188ab6cffe8ac5d96c474699f3d6
1.1.32016-05-09T18:29:50.548ZCached8c7637fad3224be35d2ad9b620db3f642bc5905ac3662bca1ec4f54408bfec21
1.1.42017-08-02T23:27:54.723004ZCached528703fdaee6cb40db111ac7bbbff111814a5f4abe7d68608383ea5acfcdc6f1
1.1.52017-09-29T17:30:07.813089ZCached5632d28a309d89aafe78eb5e2f225c9c6449117e4c5c01ee4b8e2bd7bd4d1e05
1.1.62018-07-18T19:50:09.647232ZCachedc658af5f6dca146cfeb54a0908dbf8cbdcbef9e7e375541539b38be1694fe2bf
1.2.02020-06-22T17:50:42.963260ZCachedb41767fd0d6c2473e3ff61a05d3ab55578dae390d0b19bb35d1821e612faace6
1.3.0-nnbd2020-07-08T19:59:59.540248ZCached21121af6c861bb111db76c93beafa6cd4fc136c13ea446a0620c26700334357c
1.3.0-nullsafety2020-07-09T14:52:02.768006ZCacheddfb1800791599062b0dbb30081a0c0fb42d7f15c00e5af73be05b52019486fe8
1.3.0-nullsafety.12020-07-17T17:07:52.190032ZCached9fece5d04865fe676786c0ef26d03693aeee29c8e06739c671f8a3d7c2c5e6e2
1.3.0-nullsafety.22020-07-22T14:41:11.891873ZCached3abe885230573e81e1ead2e78c60fc3244aa33b820e9d3da4bd9f287eb8f9bcf
1.3.0-nullsafety.32020-09-22T15:29:57.380656ZCached25dc4c327067cef4889a9b153ea75ce007efce0e0e1148fd66b77bbc1d552d1e
1.3.0-nullsafety.42020-10-23T20:00:43.601599ZCacheda4f28f32fbacb12e048381e7278fd942543088dd1f61a1abded5b5a334cc7f9a
1.3.0-nullsafety.52020-11-03T22:10:09.265293ZCached4ec10dd72f5a84890b09291597cf2a417b06908af65d41ecf4b936cb9c3f4f1d
1.3.02021-02-02T19:19:04.704626ZCached53bdf7e979cfbf3e28987552fd72f637e63f3c8724c9e56d9246942dc2fa36ee
1.3.12022-05-12T18:01:49.442502ZCached26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5
1.3.22023-05-09T16:52:59.770476ZCachedfacc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
1.4.02024-10-17T11:51:21.429117ZCachedf9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006

Dependencies

collection "^1.15.0"