pub fn decompress(data: &[u8]) -> Result<(u64, &[u8]), &str>
decompresses a string, returning the rest of the input as second argument. If an error occured, it means that more data was expected