The following code uses SerialPort module to listen to data from a bluetooth connection. I am expecting to see a stream of data in Hexadecimal format printed in console.This code will show the data buffer as a hex string The server retrieves the blob and stores it in a Node Buffer as .let startHex "6BFD3D0AFDFD4E01FDFD67703A34757F" let buffer Buffer .from(hex, hex) let endHex Buffer.from(buffer.toString()).toString(hex ).toUpperCase node.js string-conversion. 0. 44.let hex Buffer.from(uint8).toString(hex) Answer author Robertklep. Buffers in Node.