Created
October 8, 2016 16:33
-
-
Save milcktoast/9ccbfdfbcf69babf2e745c3ae0cc45d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch(urlToFloatFile) | |
.then((res) => res.arrayBuffer()) | |
.then((buffer) => { | |
var floatBuffer = new Float32Array(buffer) | |
console.log(floatBuffer) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment