Created
August 30, 2012 02:27
-
-
Save gquental/3521796 to your computer and use it in GitHub Desktop.
CW35 Hack Thursday - NodeJS - Buffers
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
var Buffer = require('buffer').Buffer; | |
var buffer = new Buffer(4); | |
buffer.writeUInt32BE(1600000, 0); | |
console.log(buffer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment