pub fn parse_read_slot_block(payload: &[u8]) -> Result<(u8, u8), PayloadError>Expand description
Parse the payload of CommandOpcode::ReadSlotBlock.
Layout: slot (1) || block (1). Returns the pair.
ยงErrors
PayloadError::WrongLenif the payload is not exactly 2 bytes.