render_bytes

Function render_bytes 

Source
pub fn render_bytes<'a>(bytes: &'a [u8], ito_dir: &str) -> Cow<'a, [u8]>
Expand description

Rewrite file bytes for a custom Ito directory.

This performs a best-effort UTF-8 rewrite of .ito/ path occurrences.