Created
February 21, 2019 21:38
-
-
Save applecool/4bea9ca7774c1efe6778b64c60307fd7 to your computer and use it in GitHub Desktop.
Read Buffer
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
let fs = require("fs"); | |
fs.readFile("preload-dist.r", function (err, data) { | |
if (err) throw err; | |
console.log(data); | |
console.log(data.length); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment