Skip to content

Instantly share code, notes, and snippets.

@gquental
Created August 30, 2012 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gquental/3521796 to your computer and use it in GitHub Desktop.
Save gquental/3521796 to your computer and use it in GitHub Desktop.
CW35 Hack Thursday - NodeJS - Buffers
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