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

The data packet received from the flash memory.

Param

The current progress of the read operation in bytes.

Param

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

Generated using TypeDoc