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

Method data

src/fs/blk.rs:68–71  ·  view source on GitHub ↗

Data

(&self)

Source from the content-addressed store, hash-verified

66
67 // Data
68 pub fn data(&self) -> &[u8]
69 {
70 &self.buffer[..]
71 }
72
73 // Data (mutable)
74 pub fn datamut(&mut self) -> &mut [u8]

Callers 7

createMethod · 0.80
next_free_addressMethod · 0.80
readMethod · 0.80
new_itemMethod · 0.80
read_utf8_lossyMethod · 0.80
openMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected