zstd_dart 1.1.0 copy "zstd_dart: ^1.1.0" to clipboard
zstd_dart: ^1.1.0 copied to clipboard

Zstandard compression for Dart with one-shot and stateful streaming APIs, powered by native build hooks.

Changelog #

1.1.0 - 2026-07-20 #

  • Add stateful ZstdStreamEncoder and ZstdStreamDecoder APIs for continuous zstd streams with a flush per transport message.
  • Add configurable 64 MiB default guards for compressed and decompressed per-message output.
  • Add ZstdStreamException, stream reset support, and idempotent native context disposal.
  • Make stream failure states explicit: after a ZstdStreamException, the encoder or decoder is poisoned until reset().
  • Bound one-shot decompression output while supporting unknown-size frames independently of compression ratio.
  • Add native-range validation for one-shot and streaming compression levels.
  • Add ZstdStreamEncoder.end() to close streams as complete zstd frames.
  • Add ZstdStreamDecoder.finish() and isFrameComplete for finite-stream frame completion checks.
  • Add ZstdVersion.number and ZstdVersion.string runtime version accessors.

1.0.0 #

  • Initial release with one-shot zstd compression and decompression.
0
likes
140
points
327
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Zstandard compression for Dart with one-shot and stateful streaming APIs, powered by native build hooks.

Repository (GitHub)
View/report issues

Topics

#compression #zstd #ffi #native-assets

License

MIT (license)

Dependencies

code_assets, ffi, hooks, native_toolchain_c

More

Packages that depend on zstd_dart