Skip to main content

encode_roles

Function encode_roles 

Source
pub fn encode_roles(
    entries: &[RoleEntry],
    scene: &Scene,
) -> Result<Vec<u8>, EncodeRolesError>
Expand description

Encodes entries as a role payload, in their order, checking them against scene.