Split from #66 and #67 — a shared need. The existing rle module is a [count][byte] scheme, not RLE90. ARC method 3 ("packed") and classic StuffIt method 1 both use RLE90: the 0x90 (DLE) marker, where b 0x90 n means byte b repeated n times (n==0 ⇒ a literal 0x90). A small dedicated rle90 codec (decode-only is fine; encode optional) would cover both formats. arc_squeeze already implements RLE90 internally as a pre-pass but doesn't expose it standalone.
Split from #66 and #67 — a shared need. The existing
rlemodule is a[count][byte]scheme, not RLE90. ARC method 3 ("packed") and classic StuffIt method 1 both use RLE90: the0x90(DLE) marker, whereb 0x90 nmeans bytebrepeatedntimes (n==0⇒ a literal0x90). A small dedicatedrle90codec (decode-only is fine; encode optional) would cover both formats.arc_squeezealready implements RLE90 internally as a pre-pass but doesn't expose it standalone.