I have a variable 'img' which is an image file that has been loaded via:
var img = fs.readFileSync('./tmp.png');
How do I determine how many bytes the 'img' variable is?
I have a variable 'img' which is an image file that has been loaded via:
var img = fs.readFileSync('./tmp.png');
How do I determine how many bytes the 'img' variable is?