bytepack 0.1.0
bytepack: ^0.1.0 copied to clipboard
BytepackCompresser is a Dart utility for efficiently encoding Map<String, dynamic> objects to bytes and compressing files with ZLib, supporting both data serialization and file compression in one package.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bytepackWith Flutter:
$ flutter pub add bytepackThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bytepack: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bytepack/bytepack.dart';