pub fn LZWCompress(input: &str) -> Vec<u16>
Expand description

Compresses the input string using the LZW compression algorithm.

§Arguments

  • input - A string slice that holds the input string to be compressed.

§Returns

A vector of integers representing the compressed data.