MCPcopy Index your code
hub / github.com/RustPython/RustPython / write_u8

Method write_u8

crates/compiler-core/src/marshal.rs:742–744  ·  view source on GitHub ↗
(&mut self, v: u8)

Source from the content-addressed store, hash-verified

740 fn write_slice(&mut self, slice: &[u8]);
741
742 fn write_u8(&mut self, v: u8) {
743 self.write_slice(&v.to_le_bytes())
744 }
745
746 fn write_u16(&mut self, v: u16) {
747 self.write_slice(&v.to_le_bytes())

Callers 8

try_refMethod · 0.80
write_object_depthFunction · 0.80
hashMethod · 0.80
serialize_valueFunction · 0.80
serialize_codeFunction · 0.80
write_marshal_strFunction · 0.80
write_marshal_name_tupleFunction · 0.80
write_entryFunction · 0.80

Implementers 1

marshal.rscrates/compiler-core/src/marshal.rs

Calls 1

write_sliceMethod · 0.80

Tested by

no test coverage detected