From: Rod Machen Date: Tue, 6 Oct 2015 22:27:45 +0000 (-0500) Subject: doc: fix spelling in Buffer documentation X-Git-Tag: v4.2.0~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75de25837672f6b54617feafed2b79811db277d8;p=platform%2Fupstream%2Fnodejs.git doc: fix spelling in Buffer documentation Change b.writeUint16LE(0x90ab, 0) to b.writeUInt16LE(0x90ab, 0). PR-URL: https://github.com/nodejs/node/pull/3226 Reviewed-By: Rich Trott Reviewed-By: Evan Lucas --- diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 80941cb46..22faef556 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -232,7 +232,7 @@ A generalized version of all numeric read methods. Supports up to 48 bits of accuracy. For example: var b = new Buffer(6); - b.writeUint16LE(0x90ab, 0); + b.writeUInt16LE(0x90ab, 0); b.writeUInt32LE(0x12345678, 2); b.readUIntLE(0, 6).toString(16); // Specify 6 bytes (48 bits) // output: '1234567890ab'