Skip to content

Commit 0a5487b

Browse files
committed
buffer: backport new buffer constructor APIs to v4.x
This backports the new `Buffer.alloc()`, `Buffer.allocUnsafe()`, `Buffer.from()`, and `Buffer.allocUnsafeSlow()` APIs for v4. Some backported tests are disabled, but those are not related to the new API.
1 parent f17b3e2 commit 0a5487b

File tree

5 files changed

+1889
-1
lines changed

5 files changed

+1889
-1
lines changed

0 commit comments

Comments
 (0)