Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions
@@ -0,0 +1,21 @@
/*
* this utility decompress layergroup lzma
* usage:
* node print_lzma.js lzma_param
*/
var LZMA = require('../vendor/lzma').LZMA
var str = decodeURIComponent(process.argv[2]);
// Decode (from base64)
var lzma = (new Buffer(str, 'base64').toString('binary')).split('').map(function(c) { return c.charCodeAt(0) - 128 })
// Decompress
LZMA.decompress(
lzma,
function(result) {
console.log(result);
}
);