TS SDK@iota/iota-sdkAPI ReferenceutilsFunctionstoHexOn this pageFunction: toHex() toHex(bytes): string Parameters bytes Uint8Array Returns stringGive Feedback