next.js
a278e94d - fix: avoid creation of buffers for read ops (#56421)

Commit
2 years ago
fix: avoid creation of buffers for read ops (#56421) Example usage of `readFileSync().toString()` first creates a `Buffer` instance and later does another C++ call to convert Buffer to UTF-8. This pull request reduces the C++ calls.
Author
Parents
Loading