fromBinBytes
Parse and validate a MCUboot firmware image.
Return
validated firmware package
Parameters
binData
raw bytes of the MCUboot image file
imageIndex
target image slot (default 0)
Throws
if the image header is invalid
Parse and validate a MCUboot firmware image.
validated firmware package
raw bytes of the MCUboot image file
target image slot (default 0)
if the image header is invalid