MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / execute_portal

Function execute_portal

tests/client_compat.rs:1159–1164  ·  view source on GitHub ↗
(portal: &str)

Source from the content-addressed store, hash-verified

1157}
1158
1159fn execute_portal(portal: &str) -> Vec<u8> {
1160 let mut body = Vec::new();
1161 add_cstring(&mut body, portal);
1162 body.extend_from_slice(&0_i32.to_be_bytes());
1163 tagged_message(b'E', body)
1164}
1165
1166fn sync() -> Vec<u8> {
1167 tagged_message(b'S', Vec::new())

Calls 2

add_cstringFunction · 0.85
tagged_messageFunction · 0.85

Tested by

no test coverage detected