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

Method write_u16

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

Source from the content-addressed store, hash-verified

744 }
745
746 fn write_u16(&mut self, v: u16) {
747 self.write_slice(&v.to_le_bytes())
748 }
749
750 fn write_u32(&mut self, v: u32) {
751 self.write_slice(&v.to_le_bytes())

Callers 2

write_object_depthFunction · 0.80
serialize_valueFunction · 0.80

Implementers 1

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

Calls 1

write_sliceMethod · 0.80

Tested by

no test coverage detected