archive


To install, run:

haxelib install archive 0.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

archive

Streaming archives (tar, zip, tgz, etc)

Overview

There is 2 interfaces currently:

Compressor

This defines an interface for compressing/uncompressing a data stream.

Example implementations: Deflate, Gzip

interface Compressor {
	function compress(source:RealSource):RealSource;
	function uncompress(source:RealSource):RealSource;
}

Archiver

This defines an interface for packing serveral file entries into one file archive and optionally compressing the entries, and vice-versa (unpacking).

Example implementations: Tar, Zip

interface Archiver {
	function pack(files:RealStream<Entry>):RealSource;
	function unpack(source:RealSource):RealStream<Entry>;
}
Contributors
kevinresol
Version
0.1.0
Published
8 years ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub