mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
buffer: removed unneeded FastBuffer constructor
PR-URL: https://github.com/nodejs/node/pull/19684 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jackson Tian <shyvo1987@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
dfea13a168
commit
daef2e7fd7
1 file changed
+1
-5
+1
-5
@@ -76,11 +76,7 @@ const { setupBufferJS } = internalBuffer;
|
||||
|
||||
const bindingObj = {};
|
||||
|
||||
class FastBuffer extends Uint8Array {
|
||||
constructor(arg1, arg2, arg3) {
|
||||
super(arg1, arg2, arg3);
|
||||
}
|
||||
}
|
||||
class FastBuffer extends Uint8Array {}
|
||||
FastBuffer.prototype.constructor = Buffer;
|
||||
internalBuffer.FastBuffer = FastBuffer;
|
||||
|
||||
|
||||
Reference in new issue
Block a user