joyent/node — pull request #5612 by silvinci (2013-05-31 15:01:23+00:00)
Title: buffer: return this on int/float/double writes

This makes these write methods chainable.
```js
var buf = new Buffer(4);
buf
.writeUInt8(0xFF, 0)
.writeUInt16BE(0xAAAA, 1)
.writeUInt8BE(0xBB, 3);

console.log(buf); //
```

Related: #3597 #5586 #5611
This PR is part of [this idea](https://github.com/joyent/node/issues/3597#issuecomment-18749244).