JSDoc: Module: noop.lzw

noop.lzw

NOOP LZW module.
Version:
  • 0.100
Author:
  • cisco211
Source:

Methods

(static) compress(input) → {array.<number>}

Compress input.

Parameters:
Name Type Description
input string An input string.
Source:
Returns:
output - An array of char codes.
Type
array.<number>
Example
var output = noop.lzw.compress('Hello World!');

(static) decompress(input) → {string}

Decompress input.

Parameters:
Name Type Description
input array.<number> An input array of char codes.
Source:
Returns:
output - An output string.
Type
string
Example
var output = noop.lzw.decompress([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33]);