web3-utilsFunctionsbytesToBufferbytesToBuffer CallablebytesToBuffer(data: Bytes): BufferConvert a value from bytes to Buffer@exampleconsole.log(web3.utils.bytesToBuffer(new Uint8Array([72, 12])));> <Buffer 48 0c>Parametersdata: BytesData to be convertedReturns BufferThe Buffer representation of the input data
Convert a value from bytes to Buffer