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