Thanks Ben,
I successfully managed to store and retrieve a Float32Array using your code and your hints.
I used NodeJS to create the file writing the float in little-endians order, than I retrieve it using your code.
Here is the code for the file creation in NodeJS
var fs = require('fs');
var wstream = fs.createWriteStream('data.dat');
var data = new Float32Array([1.1,2.2,3.3,4.4,5.5]);
//prepare the length of the buffer to 4 bytes per float
var buffer = new Buffer(data.length*4);
for(var i = 0; i < data.length; i++){
//write the float in Little-Endian and move the offset
buffer.writeFloatLE(data[i], i*4);
}
wstream.write(buffer);
wstream.end();
And your code for the file request on browser.
var urlToFloatFile = 'data.dat';