Skip to content

Instantly share code, notes, and snippets.

@heapwolf
Created August 6, 2012 16:58
Show Gist options
  • Save heapwolf/3276569 to your computer and use it in GitHub Desktop.
Save heapwolf/3276569 to your computer and use it in GitHub Desktop.
buffers/writeat
var puddle = frosty.slice(16, 19);
console.log(puddle.toString());
puddle.write("___");
console.log(frosty.toString("utf-8", 0, 19));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment