Retrieving binary file content using Javascript, base64 encode it and reverse-decode it using Python
So I’m answering to myself — and sorry for that — but I think it might be useful for someone as lost as I was 😉 So you have to use ArrayBuffer and set the responseType property of your XMLHttpRequest object instance to arraybuffer for retrieving a native array of Bytes, which can be converted to base64 … Read more