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 @@ -1159,8 +1159,8 @@ buf.readUInt8(1);
1159
1159
* Return: {Number}
1160
1160
1161
1161
Reads an unsigned 16-bit integer from the Buffer at the specified ` offset ` with
1162
- specified endian format (` readInt32BE ()` returns big endian,
1163
- ` readInt32LE ()` returns little endian).
1162
+ specified endian format (` readUInt16BE ()` returns big endian,
1163
+ ` readUInt16LE ()` returns little endian).
1164
1164
1165
1165
Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
1166
1166
` offset ` to be beyond the end of the Buffer.
@@ -1192,8 +1192,8 @@ buf.readUInt16LE(2);
1192
1192
* Return: {Number}
1193
1193
1194
1194
Reads an unsigned 32-bit integer from the Buffer at the specified ` offset ` with
1195
- specified endian format (` readInt32BE ()` returns big endian,
1196
- ` readInt32LE ()` returns little endian).
1195
+ specified endian format (` readUInt32BE ()` returns big endian,
1196
+ ` readUInt32LE ()` returns little endian).
1197
1197
1198
1198
Setting ` noAssert ` to ` true ` skips validation of the ` offset ` . This allows the
1199
1199
` offset ` to be beyond the end of the Buffer.
You can’t perform that action at this time.
0 commit comments