fn unescape_limited(s: &str, max: usize) -> Result<Cow<'_, [u8]>>
Unescape a byte array according to the composefs dump file escaping format, limiting the maximum possible size.