A Transform stream that accepts compressed data and outputs decompressed data.
Asynchronously decompresses the contents of a Buffer.
The buffer to decompress.
A Promise that resolves with a Buffer containing the decompressed data.
Asynchronously decompresses the contents of a Buffer.
The buffer to decompress.
The encoding of the data.
A Promise that resolves with a string containing the decompressed data.
Asynchronously decompresses the entire contents of a file.
The path to the compressed file.
A Promise that resolves with a Buffer containing the decompressed contents of the file.
Asynchronously decompresses the entire contents of a file.
The path to the compressed file.
An object specifying the encoding.
The encoding of the file.
A Promise that resolves with a string containing the decompressed contents of the file.
Asynchronously decompresses the entire contents of a file.
The path to the compressed file.
The path to write the decompressed data to. If the file
exists, it will be overwritten. If it is the same path as source, then it
will overwrite the file at source.
A Promise that resolves when the compressed file has been decompressed and written.
Generated using TypeDoc
Decompresses a stream that has been compressed via the Yaz0 algorithm.
createReadStream('ActorInfo.product.sbyml') .pipe(decompress()) .pipe(createWriteStream('ActorInfo.product.byml'))