MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / write_u8

Method write_u8

rust/stringzilla.rs:670–672  ·  view source on GitHub ↗
(&mut self, i: u8)

Source from the content-addressed store, hash-verified

668 // Feed integers as little-endian bytes for cross-platform stability
669 #[inline]
670 fn write_u8(&mut self, i: u8) {
671 self.write(&[i]);
672 }
673 #[inline]
674 fn write_u16(&mut self, i: u16) {
675 self.write(&i.to_le_bytes());

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected