nacholibre / node-readlines

Read large text files line by line (synchronous) for Node.js
MIT License
161 stars 28 forks source link

Fix Bug if readChunk config is less than required #2

Closed william-august closed 9 years ago

william-august commented 9 years ago

https://github.com/william-august/node-readlines

nacholibre commented 9 years ago

Hello, thank you for your pull request. buffer.toString() is kind of slow and if it's not 100% necessary I prefer not to use it.

I'll review your code and fix the bug when I have more time, thanks again :).

nacholibre commented 9 years ago

Bug is fixed.