bzip2 0.0.2 copy "bzip2: ^0.0.2" to clipboard
bzip2: ^0.0.2 copied to clipboard

outdatedDart 1 only

bzip2 compression algorithm

#Bzip2 Compression/Decompression Library for Dart

The goal of this library is to implement bzip2 compression/decompression algorithms for dartlang.

The algorithm used here is based on 7-zip's source code.

##Example Usage The following code reads a compressed text file and prints it line by line:

import 'package:bzip2/bzip2.dart';
import 'dart:async';
import 'dart:io';

...
new File('compressedFile.bz2').openRead()
    .transform(new Bzip2Decompressor())
    .transform(new StringDecoder())
    .transform(new LineTransformer())
    .listen((var line) => print(line));

##Limitations The following features hasn't been implemented yet:

  • Randomized mode,
  • Compression.
0
likes
0
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

bzip2 compression algorithm

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on bzip2