pub fn write_chunk<W>(writer: &mut W, bytes: &[u8]) -> Result<(), Error>where
W: Write,Expand description
Emit one HTTP chunk (<hex-size>\r\n<bytes>\r\n). A zero-length
payload is silently dropped — the terminator chunk lives in
write_chunked_terminator.