gzip / gunzip / bunzip support

Examples

    
        var compressors = require('@unitybase/compressors');
compressors.unBzipM2
    

Methods

gunzipFile(fileNameFrom: String, fileNameTo: String)inner#

Decompress file using gzip algorithm

gzipFile(fileNameFrom: String, fileNameTo: String)inner#

Compress file using gzip algorithm

unBzipM2(buffer: ArrayBuffer)→ArrayBufferinner#

Decompress files from Megapolis2(TM) bzip format(first 4 bytes are length of uncompressed files)