MCPcopy Create free account
hub / github.com/BitVM/BitVM / as_ref

Method as_ref

fuzz/fuzz_targets/blake3.rs:44–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

42
43impl AsRef<[u8]> for MessageBytes {
44 fn as_ref(&self) -> &[u8] {
45 match self {
46 Self::U64(bytes) => bytes,
47 Self::U128(bytes) => bytes,
48 Self::U192(bytes) => bytes,
49 Self::U448(bytes) => bytes,
50 }
51 }
52}
53
54impl MessageBytes {

Callers 15

read_from_data_storeMethod · 0.80
get_latest_file_namesMethod · 0.80
depositor_statusMethod · 0.80
operator_statusMethod · 0.80
verifier_statusMethod · 0.80
create_peg_in_graphMethod · 0.80
create_peg_out_graphMethod · 0.80
broadcast_peg_outMethod · 0.80
broadcast_kick_off_1Method · 0.80
broadcast_start_timeMethod · 0.80
broadcast_kick_off_2Method · 0.80

Calls

no outgoing calls

Tested by 1