I am trying to create a file on Google Drive with the contents of an ArrayBuffer. I'm using Javascript and version 3 of the Drive aPI.
I managed to create an populate a text file using this code sample but I cannot find any example on how to populate a file using binary data from an ArrayBuffer. Is this possible, or do I have to encode my binary data as a string before I upload it to Google Drive?
Google's documentation to v3 is really lacking :-(
Any help is highly appreciated.