MCPcopy Create free account
hub / github.com/hashintel/hash / encode_version

Function encode_version

libs/@local/harpc/wire-protocol/src/protocol.rs:161–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160 #[test]
161 fn encode_version() {
162 assert_encode(
163 &ProtocolVersion::V1,
164 expect![[r#"
165 0x01
166 "#]],
167 );
168 }
169
170 #[test]
171 fn decode_version() {

Callers

nothing calls this directly

Calls 1

assert_encodeFunction · 0.85

Tested by

no test coverage detected