i got the buffer from a file i want to convert it to base64 there is a way?
Try to install one of the available base64 or buffer packages and follow the documentation.
Try Buffer.toString().
i already try it but it only works with strings and my buffer is from a pdf file
i already try it but when i send it to and api it only show a blank file