⌈⌋ ⎇ branch:  Bitrhythm


Artifact Content

Artifact 7e77d68dedebb7bd2a47e5513134e2df2af36b49ebaf67998c49d39223c32e55:


import LOADERS from 'main/loaders';

export default {
	pack: true,
	encode: true,
	compress: async input => Buffer.from((await LOADERS.lzw()).encode(input.toString('binary'))),
	decompress: async input => Buffer.from((await LOADERS.lzw()).decode(input), 'binary')
};