MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / is_msgpack_map_prefix

Function is_msgpack_map_prefix

dstack-attest/src/attestation.rs:55–58  ·  view source on GitHub ↗
(byte: u8)

Source from the content-addressed store, hash-verified

53}
54
55fn is_msgpack_map_prefix(byte: u8) -> bool {
56 // fixmap (0x80..=0x8f), map16 (0xde), map32 (0xdf)
57 matches!(byte, 0x80..=0x8f | 0xde | 0xdf)
58}
59
60impl From<Attestation> for AttestationV1 {
61 fn from(attestation: Attestation) -> Self {

Callers 1

from_bytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected