Closed
Description
Line 543 in f22a9ca
This check can produce confusing error message when offse
t is equal to bufferLength
. Which is error, but message shows, that it is correct (<=)
if (offset < 0 || offset >= bufferLength) {
throw new ERR_OUT_OF_RANGE('offset',
`>= 0 && <= ${bufferLength}`, offset);
}