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

Function write_vec

crates/compiler-core/src/marshal.rs:772–775  ·  view source on GitHub ↗
(buf: &mut W, slice: &[u8])

Source from the content-addressed store, hash-verified

770}
771
772pub(crate) fn write_vec<W: Write>(buf: &mut W, slice: &[u8]) {
773 write_len(buf, slice.len());
774 buf.write_slice(slice);
775}
776
777pub fn serialize_value<W: Write, D: Dumpable>(
778 buf: &mut W,

Callers 3

serialize_valueFunction · 0.85
serialize_codeFunction · 0.85
write_entryFunction · 0.85

Calls 3

write_lenFunction · 0.85
write_sliceMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected