MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / total_bytes

Method total_bytes

crates/asm-to-binary/src/assembler/output.rs:71–73  ·  view source on GitHub ↗

Total encoded size across all sections.

(&self)

Source from the content-addressed store, hash-verified

69 .iter()
70 .find(|s| s.kind.as_ref() == Some(kind))
71 .map(|s| s.bytes.as_slice())
72 .unwrap_or(&[])
73 }
74
75 pub fn text_bytes(&self) -> &[u8] {
76 self.section_bytes(&SectionKind::Text)

Callers 1

uiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected