stream_data_reader 1.0.5

  • Readme
  • Changelog
  • Installing
  • 50

StreamReader #

A library help you control stream, like that fetch data when you read.

Import #

add in pubspec.yaml, like this:

stream_reader: ^1.0.4

Usage #

1.0.0 #

  • Initial version, created by Stagehand

1.0.1 #

  • Add isEnd method

1.0.2 #

  • readUntil method can match more terminators

1.0.3 #

  • `readUtils' method can remove terminators

1.0.4 #

  • add utils.dart

1.0.5 #

  • fix terminators remove bug

Use this package as a library

1. Depend on it

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


dependencies:
  stream_data_reader: ^1.0.5

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:stream_data_reader/stream_data_reader.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Jul 7, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Health suggestions

Format lib/src/byte_buffer_reader.dart.

Run dartfmt to format lib/src/byte_buffer_reader.dart.

Format lib/src/data_reader.dart.

Run dartfmt to format lib/src/data_reader.dart.

Format lib/src/stream_reader.dart.

Run dartfmt to format lib/src/stream_reader.dart.

Format lib/src/utils.dart.

Run dartfmt to format lib/src/utils.dart.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and stream_data_reader.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.2.0 <3.0.0
Dev dependencies
pedantic ^1.8.0
test ^1.6.0