Function body_image::barc::write_headers[][src]

pub fn write_headers(
    out: &mut Write,
    with_crlf: bool,
    headers: &HeaderMap
) -> Result<usize, BarcError>

Write header block 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.