Type alias FlashReadCallback

FlashReadCallback: ((packet, progress, totalSize) => void) | null

Callback function type for handling packets received during flash memory read operations.

Type declaration

    • (packet, progress, totalSize): void
    • Parameters

      • packet: Uint8Array
      • progress: number
      • totalSize: number

      Returns void

Param: packet

The data packet received from the flash memory.

Param: progress

The current progress of the read operation in bytes.

Param: totalSize

The total size of the data to be read in bytes.