Skip to content

Commit

Permalink
buffer: backport new buffer constructor APIs to v4.x
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ChALkeR committed Jul 6, 2016
1 parent f17b3e2 commit 0a5487b
Show file tree
Hide file tree
Showing 5 changed files with 1,889 additions and 1 deletion.
Loading

0 comments on commit 0a5487b

Please sign in to comment.