This Gist was automatically created by Carbide, a free online programming environment.
Last active
August 22, 2016 20:32
-
-
Save antimatter15/e9a552fdd70a0069bbc786e7d12c49c1 to your computer and use it in GitHub Desktop.
Binary Data
This file contains 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
let response = await fetch('http://i.imgur.com/S2AinSB.jpg') | |
let data = await response.arrayBuffer() | |
new Buffer(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment