I have a binary pdf as a Uint8Array that I want to convert to base64 to eventually store in Netsuite as a file. Has anyone found a (somewhat) working way of doing that?
I've tried many different variations of converting it.
One of them using
this library. But it gave me this nice error from NS.
{
type: "error.SuiteScriptError",
name: "",
message: "com.netsuite.suitescript.scriptobject.ScriptNullObjectAdapter@1e96d033"
}