pub fn write<'a, A, W>(writer: &mut W, iter: &A) -> Result<(), W::Error>where A: AsBytes<'a>, W: WriteBytes,