Searched refs:put_u8 (Results 1 – 11 of 11) sorted by relevance
33 buf.put_u8(33); in test_put_u8()92 fn put_u8(&mut self, _: u8) { in test_deref_bufmut_forwards() method98 Special.put_u8(b'x'); in test_deref_bufmut_forwards()99 (&mut Special as &mut dyn BufMut).put_u8(b'x'); in test_deref_bufmut_forwards()100 (Box::new(Special) as Box<dyn BufMut>).put_u8(b'x'); in test_deref_bufmut_forwards()101 Box::new(Special).put_u8(b'x'); in test_deref_bufmut_forwards()
25 buf.put_u8(i); in writing_chained()
454 bytes.put_u8(i as u8); in reserve_allocates_at_least_original_capacity()471 bytes.put_u8(0u8); in reserve_max_original_capacity_value()
132 b.put_u8(first | v as u8)?; in encode_int()137 b.put_u8(first | mask as u8)?; in encode_int()143 b.put_u8((v % 128 + 128) as u8)?; in encode_int()149 b.put_u8(v as u8)?; in encode_int()
73 out.put_u8((bits >> 32) as u8)?; in encode()84 out.put_u8((bits >> 32) as u8)?; in encode()
272 fn put_u8(&mut self, n: u8) { in put_u8() method928 fn put_u8(&mut self, n: u8) {929 (**self).put_u8(n)
308 out.put_u8(first)?; in to_bytes()325 out.put_u8(first)?; in to_bytes()329 out.put_u8(self.dcid.len() as u8)?; in to_bytes()332 out.put_u8(self.scid.len() as u8)?; in to_bytes()564 1 => b.put_u8(pn as u8)?, in encode_pkt_num()585 b.put_u8(first)?; in negotiate_version()588 b.put_u8(scid.len() as u8)?; in negotiate_version()590 b.put_u8(dcid.len() as u8)?; in negotiate_version()678 pb.put_u8(odcid.len() as u8)?; in compute_retry_integrity_tag()
342 pub fn put_u8(&mut self, v: u8) -> Result<&mut [u8]> { in put_u8() method439 1 => self.put_u8(v as u8)?, in put_varint_with_len()1015 assert!(b.put_u8(1).is_ok()); in put_u()1035 assert!(b.put_u8(1).is_err()); in put_u()1058 assert!(b.put_u8(1).is_err()); in put_bytes()
466 b.put_u8(conn_id.len() as u8)?; in to_bytes()
191 buf.put_u8(b'x'); in put_u8_bytes_mut()225 buf.put_u8(b'x'); in put_u8_vec()
1168 self.put_u8(b); in extend()