zstd_ffi 0.0.5 copy "zstd_ffi: ^0.0.5" to clipboard
zstd_ffi: ^0.0.5 copied to clipboard

outdated

zstd ffi binding for Dart. More better performance than flutter plugin.

Zstandard library(zstd) ffi binding for Dart

build

Features #

  • ✅ Simple compress/decrompress
  • ✅ Compress with Context
  • ✅ Decompress with Context
  • ✅ Compress with Dict
  • ✅ Decompress with Dict
  • ✅ Add Mac library(1.4.6)
  • ✅ Add Linux library(1.4.6)
  • [] Add Windows library

Usage #

  • simple compress/deccompress
final dst = compress(src, level: 1);
// src/dst is Uint8List

final plain = decompress(dst);
// plain is Uint8List
  • Compress with context
final ctx = Context.create();

try {
  dst = ctx.compress(src);
} finally {
  ctx.dispose();
}

Upgrade zstd #

# replace lib/zstd.h

pub run ffigen

pub run test

pub publish
0
likes
0
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

zstd ffi binding for Dart. More better performance than flutter plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi

More

Packages that depend on zstd_ffi