chunked_stream 1.4.2 copy "chunked_stream: ^1.4.2" to clipboard
chunked_stream: ^1.4.2 copied to clipboard

Utilities for working with chunked streams, such as byte streams which is often given as a stream of byte chunks with type `Stream<List<int>>`.

1.4.2 #

  • Added topics to pubspec.yaml.

1.4.1 #

  • Deprecating ChunkedStreamIterator in favor of ChunkedStreamReader from package:async version ^2.6.0.

1.4.0 #

  • Stable null-safety release

1.4.0-nullsafety.0 #

  • Added readByteStream which uses BytesBuilder from dart:typed_data under the hood.
  • Added readBytes to ChunkedStreamIterator<int> for reading byte streams into Uint8List.
  • Added @sealed annotation to all exported classes.

1.3.0-nullsafety.0 #

  • Migrated to null safety

1.2.0 #

  • Changed ChunkedStreamIterator implementation to fix bugs related to stream pausing and resuming.

1.1.0 #

  • Added asChunkedStream(N, input) for wrapping a Stream<T> as a chunked stream Stream<List<T>>, which is useful when batch processing chunks of a stream.

1.0.1 #

  • Fixed lints reported by pana.

1.0.0 #

  • Initial release.
52
likes
160
points
49.8k
downloads

Documentation

API reference

Publisher

verified publishergoogle.dev

Weekly Downloads

Utilities for working with chunked streams, such as byte streams which is often given as a stream of byte chunks with type `Stream<List<int>>`.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#bytes #concurrency #streams

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on chunked_stream