Buffer to base64 format for pdf

Viewed 23

When I run getAsPDF on the Xero side, I get a buffer output like this:

enter image description here

I am trying to convert it to base64 format and send it as pdf, but I could not convert it to pdf format.

1 Answers
Related