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