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