Skip to main content

whole_file

Function whole_file 

fn whole_file(content: &str) -> String
Expand description

Builds the bytes a Framing::WholeFile output should hold.

Exactly one trailing newline, whatever the generator produced, so that two consecutive --mode write runs agree and --mode check can be a comparison of every byte.