Skip to main content

rle90_encode

Function rle90_encode 

Source
pub fn rle90_encode(data: &[u8]) -> Vec<u8> ⓘ
Expand description

RLE90 compress: a run of b repeated n (3..=255) times becomes b 0x90 n; a literal 0x90 becomes 0x90 0x00. Shared with the StuffIt writer (compression method 1).