Searched refs:put_u8 (Results 1 – 12 of 12) sorted by relevance
41 buf.put_u8(33); in test_put_u8()118 s.put_u8(17); in test_slice_put_bytes()141 fn put_u8(&mut self, _: u8) { in test_deref_bufmut_forwards() method147 Special.put_u8(b'x'); in test_deref_bufmut_forwards()148 (&mut Special as &mut dyn BufMut).put_u8(b'x'); in test_deref_bufmut_forwards()149 (Box::new(Special) as Box<dyn BufMut>).put_u8(b'x'); in test_deref_bufmut_forwards()150 Box::new(Special).put_u8(b'x'); in test_deref_bufmut_forwards()
25 buf.put_u8(i); in writing_chained()
455 bytes.put_u8(i as u8); in reserve_allocates_at_least_original_capacity()472 bytes.put_u8(0u8); in reserve_max_original_capacity_value()1048 bytes.put_u8(17); in bytes_put_bytes()
138 b.put_u8(first | v as u8)?; in encode_int()143 b.put_u8(first | mask as u8)?; in encode_int()149 b.put_u8((v % 128 + 128) as u8)?; in encode_int()155 b.put_u8(v as u8)?; in encode_int()
71 out.put_u8((bits >> 32) as u8)?; in encode()82 out.put_u8((bits >> 32) as u8)?; in encode()
295 self.put_u8(val); in put_bytes()317 fn put_u8(&mut self, n: u8) { in put_u8() method1296 fn put_u8(&mut self, n: u8) {1297 (**self).put_u8(n)
191 buf.put_u8(b'x'); in put_u8_bytes_mut()225 buf.put_u8(b'x'); in put_u8_vec()
463 out.put_u8(first)?; in to_bytes()480 out.put_u8(first)?; in to_bytes()484 out.put_u8(self.dcid.len() as u8)?; in to_bytes()487 out.put_u8(self.scid.len() as u8)?; in to_bytes()720 1 => b.put_u8(pn as u8)?, in encode_pkt_num()741 b.put_u8(first)?; in negotiate_version()744 b.put_u8(scid.len() as u8)?; in negotiate_version()746 b.put_u8(dcid.len() as u8)?; in negotiate_version()847 pb.put_u8(odcid.len() as u8)?; in compute_retry_integrity_tag()
517 b.put_u8(conn_id.len() as u8)?; in to_bytes()
352 pub fn put_u8(&mut self, v: u8) -> Result<&mut [u8]> { in put_u8() method446 1 => self.put_u8(v as u8)?, in put_varint_with_len()1038 assert!(b.put_u8(1).is_ok()); in put_u()1058 assert!(b.put_u8(1).is_err()); in put_u()1081 assert!(b.put_u8(1).is_err()); in put_bytes()
195 buf.put_u8(b'\n'); in encode()
1293 self.put_u8(b); in extend()