MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / as_ref

Method as_ref

event/src/bytes.rs:76–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

74
75impl AsRef<[u8]> for Bytes {
76 fn as_ref(&self) -> &[u8] {
77 self.as_slice()
78 }
79}

Callers 15

pathMethod · 0.45
chain_idMethod · 0.45
tx_typeMethod · 0.45
fmtMethod · 0.45
capabilityMethod · 0.45
encode_capabilityMethod · 0.45
headerMethod · 0.45
protectedMethod · 0.45
jws_headerMethod · 0.45
not_beforeMethod · 0.45
expirationMethod · 0.45
headerMethod · 0.45

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected