fromBytes
Parse the mcumgr header from a byte array. This function will parse the first 8 bytes from the array, discounting any additional bytes.
Return
The parsed mcumgr header.
Parameters
header
the byte array to parse the header from.
Throws
when the byte array length is less than 8 bytes