File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -799,8 +799,8 @@ buf.readUInt8(1);
799799* Return: {Number}
800800
801801Reads an unsigned 16-bit integer from the Buffer at the specified ` offset ` with
802- specified endian format (` readInt32BE ()` returns big endian,
803- ` readInt32LE ()` returns little endian).
802+ specified endian format (` readUInt16BE ()` returns big endian,
803+ ` readUInt16LE ()` returns little endian).
804804
805805Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
806806` offset ` to be beyond the end of the Buffer.
@@ -832,8 +832,8 @@ buf.readUInt16LE(2);
832832* Return: {Number}
833833
834834Reads an unsigned 32-bit integer from the Buffer at the specified ` offset ` with
835- specified endian format (` readInt32BE ()` returns big endian,
836- ` readInt32LE ()` returns little endian).
835+ specified endian format (` readUInt32BE ()` returns big endian,
836+ ` readUInt32LE ()` returns little endian).
837837
838838Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
839839` offset ` to be beyond the end of the Buffer.
You can’t perform that action at this time.
0 commit comments