hexDataSlice
hexDataSlice(
data,offset,endOffset?):string
Defined in: utils/bytes.ts:504
Slices a BytesLike to extract a certain part of the input
Parameters
data
the data to slice from
offset
number
the index to start extraction at
endOffset?
number
the index to end extraction at
Returns
string
the extracted data as a hex string
Example
hexDataSlice([20, 6, 48], 0, 2);// '0x1406'