onerom-wasm
    Preparing search index...

    Function parse_image_file

    • Parse an image file into a [DeviceSummary].

      A file longer than the first flash chip holds the second chip's contents after the first chip's. A file whose slots don't match its length or the flash chips is corrupt, and the last of its parse_errors says why. Otherwise the summary is the one [parse_firmware] returns for flash alone.

      Parameters

      • data: Uint8Array

      Returns Promise<DeviceSummary>