Upstream davidmarkclements/rfdc state of the touched files before cfa32493a8

This commit is contained in:
upstream committed 2026-09-04 09:22:12 +02:00
1 parent 99f52dbf7f
commit 7fe17ef74e
2 files changed
-32

No files matched your search

-5
View File
@@ -6,11 +6,6 @@ function copyBuffer (cur) {
return Buffer.from(cur)
}
// A DataView takes a byte length, not an element count like a TypedArray.
if (cur instanceof DataView) {
return new DataView(cur.buffer.slice(), cur.byteOffset, cur.byteLength)
}
return new cur.constructor(cur.buffer.slice(), cur.byteOffset, cur.length)
}