lz4 0.0.1 copy "lz4: ^0.0.1" to clipboard
lz4: ^0.0.1 copied to clipboard

lz4 compress and decompress cross platform support.

example/lz4_example.dart

import 'dart:convert';

import 'package:lz4/lz4.dart';
import 'package:lz4/src/lz4/ffi/codec.dart';

void main(List<String> args) {
  Lz4Codec.libraryPath = "/home/hexaminate/Documents/HEXAMINATE/app/lz4/package/lz4_flutter/example/build/linux/x64/release/bundle/lib/liblz4.so";
  List<int> encode_data = lz4.encode(utf8.encode("azka"));

  print(encode_data);

  print(lz4.bindingVersion.toString());
  print(utf8.decode(lz4.decode(encode_data)));
}
0
likes
80
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

lz4 compress and decompress cross platform support.

Documentation

API reference

License

MIT (license)

Dependencies

ffi, universal_io

More

Packages that depend on lz4