gif::encoder

Function lzw_encode

Source
fn lzw_encode(data: &[u8], buffer: &mut Vec<u8>)
Expand description

Encodes the data into the provided buffer.

The first byte is the minimum code size, followed by LZW data.