Closed Kikobeats closed 7 years ago
I unified the main method for get the stdin and added a serializer method for determinate if you want an string or buffer output.
Also new Buffer → Buffer.from 😄
new Buffer
Buffer.from
It's separate methods as progressively concatenating a string is better than converting a buffer to a string at the end. The latter can be a heavy blocking operation for large inputs.
I unified the main method for get the stdin and added a serializer method for determinate if you want an string or buffer output.
Also
new Buffer
→Buffer.from
😄