Function barc::write_headers

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

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.