Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix allocating Buffer in early commit (#22379)
Summary: Commit d9c2cda brings compatibility with Node 10, but replaced allocating buffer incorrectly. dulmandakh made two comments and shows how to do it based on NodeJS documentation https://nodejs.org/api/buffer.html#buffer_new_buffer_size This PR just fixes that commit. Pull Request resolved: #22379 Differential Revision: D13166867 Pulled By: hramos fbshipit-source-id: 207528739889c044021a4b97ef94c33d56de3e89
- Loading branch information