16 lines
233 B
JavaScript
16 lines
233 B
JavaScript
|
/**
|
||
|
* @author shaozilee
|
||
|
*
|
||
|
* support 1bit 4bit 8bit 24bit decode
|
||
|
* encode with 24bit
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
var encode = require('./lib/encoder'),
|
||
|
decode = require('./lib/decoder');
|
||
|
|
||
|
module.exports = {
|
||
|
encode: encode,
|
||
|
decode: decode
|
||
|
};
|