Why not try the following code?:
const buffer = Buffer.from(rawData, 'base64');
const bufString = buffer.toString('hex');
More Related Contents:
- HEX to Base64 converter for JavaScript
- How can I convert an image into Base64 string using JavaScript?
- Get image data URL in JavaScript?
- RGB to hex and hex to RGB
- How to get hex color value rather than RGB value?
- How to convert decimal to hexadecimal in JavaScript
- How to convert file to base64 in JavaScript?
- Convert base64 string to ArrayBuffer
- convert base64 to image in javascript/jquery
- How to get the background color code of an element in hex?
- Pdf.js: rendering a pdf file using a base64 file source instead of url
- How to convert Base64 String to javascript file object like as from file input form?
- How to convert uint8 Array to base64 Encoded String?
- Convert HTML to data:text/html link using JavaScript
- Javascript: Unicode string to hex
- Sending binary data in javascript over HTTP
- Upload base64 image with Ajax
- Save base64 string as PDF at client side with JavaScript
- play .wav sound file encoded in base64 with javascript
- JavaScript: Need functions to convert a string containing binary to hex, then convert back to binary
- How to parse into base64 string the binary image from response?
- What is the size limit of a Base64 DataURL image?
- Resize a Base-64 image in JavaScript without using canvas
- How to download a base64-encoded image?
- Convert HTML5 Canvas into File to be uploaded?
- How do I implement hex2bin()?
- Secure random token in Node.js
- how to display base64 encoded pdf?
- ReadFile in Base64 Nodejs
- How to get MIME-TYPE from Base 64 String?