File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -799,8 +799,8 @@ buf.readUInt8(1);
799
799
* Return: {Number}
800
800
801
801
Reads 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).
804
804
805
805
Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
806
806
` offset ` to be beyond the end of the Buffer.
@@ -832,8 +832,8 @@ buf.readUInt16LE(2);
832
832
* Return: {Number}
833
833
834
834
Reads 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).
837
837
838
838
Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
839
839
` offset ` to be beyond the end of the Buffer.
You can’t perform that action at this time.
0 commit comments