web3-utilsFunctionsbytesToUint8ArraybytesToUint8Array CallablebytesToUint8Array(data: Bytes): Uint8ArrayConvert a value from bytes to Uint8Array@exampleconsole.log(web3.utils.bytesToUint8Array("0xab")));> Uint8Array(1) [ 171 ]Parametersdata: BytesData to be convertedReturns Uint8ArrayThe Uint8Array representation of the input data
Convert a value from bytes to Uint8Array