codec-utils v0.3.4hexToBytesOn this pagehexToBytes Converts a hexadecimal string into a list of bytes. export function hexToBytes(hex: string): number[] Arguments NameTypeDescriptionhexstring Return value number[]