pub fn write_headers_to<B: BufMut>( headers: &[Header], buffer: B, ) -> Result<(), Error>
Writes the given headers to a buffer.
headers
buffer