probe-web / @probe-web/ui / toIntelHex
Function: toIntelHex()
ts
function toIntelHex(
base,
data,
recordSize?
): string;Defined in: packages/ui/src/intel-hex.ts:18
Encode data located at base as Intel HEX text (lines joined with \n, trailing newline). Emits an extended linear address record whenever the upper 16 bits change, never lets a data record cross a 64 KiB boundary, and ends with an EOF record.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
base | number | bigint | undefined | Address of data[0]. |
data | Uint8Array | undefined | - |
recordSize | number | 16 | Maximum data bytes per record. |
Returns
string