doc: fix incorrect references in buffer docs
PR-URL: https://github.com/nodejs/node/pull/6194 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
This commit is contained in:
parent
0b66b8f2d2
commit
a432935211
@ -1159,8 +1159,8 @@ buf.readUInt8(1);
|
||||
* Return: {Number}
|
||||
|
||||
Reads an unsigned 16-bit integer from the Buffer at the specified `offset` with
|
||||
specified endian format (`readInt32BE()` returns big endian,
|
||||
`readInt32LE()` returns little endian).
|
||||
specified endian format (`readUInt16BE()` returns big endian,
|
||||
`readUInt16LE()` returns little endian).
|
||||
|
||||
Setting `noAssert` to `true` skips validation of the `offset`. This allows the
|
||||
`offset` to be beyond the end of the Buffer.
|
||||
@ -1192,8 +1192,8 @@ buf.readUInt16LE(2);
|
||||
* Return: {Number}
|
||||
|
||||
Reads an unsigned 32-bit integer from the Buffer at the specified `offset` with
|
||||
specified endian format (`readInt32BE()` returns big endian,
|
||||
`readInt32LE()` returns little endian).
|
||||
specified endian format (`readUInt32BE()` returns big endian,
|
||||
`readUInt32LE()` returns little endian).
|
||||
|
||||
Setting `noAssert` to `true` skips validation of the `offset`. This allows the
|
||||
`offset` to be beyond the end of the Buffer.
|
||||
|
Loading…
x
Reference in New Issue
Block a user