Function barc::write_body
source · pub fn write_body(
out: &mut dyn Write,
with_crlf: bool,
body: &BodyImage
) -> Result<u64, BarcError>
Expand description
Write body to out, with optional CR+LF end padding, and return the length
written. This is primarily an implementation detail of BarcWriter
, but
is made public for its general diagnostic utility.