buffer 1.0.6

  • Readme
  • Changelog
  • Installing
  • 83

Buffer - Dart library for byte buffers and streams. #

Utility functions and classes to work with byte buffers and streams efficiently, to read and write binary data formats.

1.0.6 #

  • Using package:pedantic as base of the lint rules.

1.0.5+1 #

  • Fix offsetInBytes use.

1.0.5 #

  • More efficient merge in ByteDataReader.

1.0.4 #

  • Fix buffer processing bug.

1.0.3 #

  • ByteDataReader.readAhead

1.0.2 #

  • byteLength-driven read and write methods for integers.

1.0.1 #

  • Fix return type of ByteDataReader.read().

1.0.0 #

  • Initial version.

Use this package as a library

1. Depend on it

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

  buffer: ^1.0.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:buffer/buffer.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
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


Detected platforms: Flutter, web, other

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

Maintenance suggestions

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 buffer.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
pedantic ^1.0.0
test ^1.0.0