Click or drag to resize
RunLength Methods

The RunLength type exposes the following members.

Methods
  NameDescription
Public methodCompress
Reads a sequence of bits from standard input; compresses them using run-length coding with 8-bit run lengths; and writes the results to standard output.
Public methodExpand
Reads a sequence of bits from standard input (that are encoded using run-length encoding with 8-bit run lengths); decodes them; and writes the results to standard output.
Public methodStatic memberMainTest
Sample client that calls compress() if the command-line argument is "-" an expand() if it is "+".
Top
See Also