MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / write_str

Method write_str

src/ser.rs:64–72  ·  view source on GitHub ↗

Write string

(&mut self, s: &str)

Source from the content-addressed store, hash-verified

62{
63 // Write string
64 fn write_str(&mut self, s: &str) -> fmt::Result
65 {
66 for byte in s.bytes()
67 {
68 self.wrbyte(byte)
69 }
70
71 Ok(())
72 }
73}
74
75

Callers 1

fmtMethod · 0.45

Calls 1

wrbyteMethod · 0.45

Tested by

no test coverage detected