StormLib Implode and Explode algorithms for javascript thanks to emscripten
syncronously compress the in
buffer with pkware implode; will use the implode auto detect if dictSize is undefined
implode(in: Buffer, dictSize?)
syncronously decompress the in
buffer with pkware explode
explode(in: Buffer)
calculate checksum
crc32(in: Buffer, xor?: boolean)
dictSize constants
ImplodeDictSize1
ImplodeDictSize2,
ImplodeDictSize3,
In your (windows) emscripten environment run build/build.bat