Skip to main content

decode_entity_id

Function decode_entity_id 

Source
pub fn decode_entity_id(input: &[u8]) -> Result<(EntityId, usize), DecodeError>
Expand description

Decodes one fixed-width entity-id component.

ยงErrors

Returns DecodeError::Truncated when fewer than eight bytes remain.