typed_data 1.1.6

  • Readme
  • Changelog
  • Installing
  • 91

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 List(), but stores typed data like a typed data list.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1.1.6 #

  • Set max SDK version to <3.0.0, and adjust other dependencies.

1.1.5 #

  • Undo unnessesary 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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  typed_data: ^1.1.6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:typed_data/typed_data.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
98
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
59
Overall:
Weighted score of the above. [more]
91
Learn more about scoring.

We analyzed this package on Nov 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:typed_data/typed_data.dart.

Health suggestions

Fix lib/typed_buffers.dart. (-1 points)

Analysis of lib/typed_buffers.dart reported 2 hints:

line 49 col 3: Avoid return types on setters.

line 57 col 11: Use isEmpty instead of length

Maintenance suggestions

Package is getting outdated. (-30.68 points)

The package was last published 68 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and typed_data.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.16.0 <3.0.0
Dev dependencies
test >=0.12.42 <2.0.0