pub fn parse_provision_slot(
payload: &[u8],
) -> Result<(u8, [u8; 32]), PayloadError>Expand description
Parse the payload of CommandOpcode::ProvisionSlot.
Layout: slot (1) || value (32). Returns the pair.
ยงErrors
PayloadError::WrongLenif the payload is not exactly 33 bytes.