We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3062e7c commit 34adb7cCopy full SHA for 34adb7c
1 file changed
lib/buffer.js
@@ -615,8 +615,8 @@ Buffer.concat = function concat(list, length) {
615
TypedArrayPrototypeSet(buffer, buf, pos);
616
} else {
617
const src = new Uint8Array(
618
- TypedArrayPrototypeGetBuffer(buf),
619
- TypedArrayPrototypeGetByteOffset(buf),
+ buf.buffer,
+ buf.byteOffset,
620
toCopy,
621
);
622
TypedArrayPrototypeSet(buffer, src, pos);
0 commit comments