LZ4 decompress library for JSX
import "lz4_decoder.jsx";
class _Main {
static function main(argv : string[]) : void
{
var input : ArrayBuffer;
/*
: initialize ArrayBuffer
*/
var decoder = new Lz4Decoder();
var output : ArrayBuffer = decoder.decode(input);
}
}
$ npm install lz4.jsx
If you want to use this library from other JSX project, install like the following:
$ npm install lz4.jsx --save-dev
Don't be afraid JSX! If you have an experience of JavaScript, you can learn JSX quickly.
- Static type system and unified class syntax.
- All variables and methods belong to class.
- JSX includes optimizer. You don't have to write tricky unreadalbe code for speed.
- You can use almost all JavaScript API as you know. Some functions become static class functions. See reference.
To create development environment, call following command:
$ npm install
- Repository: git://github.com/shibukawa/lz4.jsx.git
- Issues: https://github.com/shibukawa/lz4.jsx/issues
$ grunt test
$ grunt build
$ grunt doc
- shibukawa.yoshiki / shibukawa.yoshiki@gmail.com
Modified BSD License (BSD 3-clause)
Complete license is written in LICENSE.md
.