Commit 0a5487b
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
5 files changed
Lines changed: 1889 additions & 1 deletion
File tree
- doc/api
- lib
- test/parallel
0 commit comments