lzstring 1.0.0 copy "lzstring: ^1.0.0" to clipboard
lzstring: ^1.0.0 copied to clipboard

outdated

Dart implementation of lz-string compression algorithm

example/main.dart

import 'package:lzstring/lzstring.dart';

void main() { 
  String input = "Dart implemntation of lz-string";
  print('Input: $input');
  print('Compressed String: ${LZString.compress(input)}');
  print('Compressed Base 64 String: ${LZString.compressToBase64(input)}');
  print('Compressed UTF16 String: ${LZString.compressToUTF16(input)}');
  print(
      'Compressed Encoded URI Component: ${LZString.compressToEncodedURIComponent(input)}');
  print('Compressed Uint8 Array: ${LZString.compressToUint8Array(input)}');
}
19
likes
0
pub points
88%
popularity

Publisher

unverified uploader

Dart implementation of lz-string compression algorithm

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

typed_data

More

Packages that depend on lzstring