Skip to content

uupaa/ExpGolomb.js

Repository files navigation

ExpGolomb Build Status

npm

Exponential-Golomb coding implement.

This module made of WebModule.

Documentation

Browser, NW.js and Electron

<script src="<module-dir>/lib/WebModule.js"></script>
<script src="<module-dir>/lib/ExpGolomb"></script>
<script>

ExpGolomb.encode(3)       // -> "00100"
ExpGolomb.decode("00100") // -> 3

</script>

WebWorkers

importScripts("<module-dir>lib/WebModule.js");
importScripts("<module-dir>lib/ExpGolomb");

...

Node.js

require("<module-dir>lib/WebModule.js");
require("<module-dir>lib/ExpGolomb");

...

About

Exponential-Golomb coding implement.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published