Clone this wiki locally
v1.0.1 (07 Oct 2012)
- Minor bug fixes.
v1.0.0 (04 Oct 2012)
- Complete code refactor for better maintenance.
- New classes
BufferedReaderclass has been deprecated.
- Added new functions to
skipfunction can move the offset backwards; a negative number of bytes can be skipped.
- Added constants to move the offset to the start and end of window:
- Added new setting to the
- Some bug fixes.
v0.2.7 (17 Aug 2012)
- Updated errno-codes module.
v0.2.6 (05 Aug 2012)
- Better error management.
v0.2.5 (25 Jul 2012)
- The buffered reader is closed automatically on error. There's no need to close it again from outside.
v0.2.4 (25 Jul 2012)
- Fixed the byte offset in the
bufferevent when only a
bufferevent was set.
- Fixed the last byte offset of any data event. Now the last byte offset is -1.
v0.2.3 (16 May 2012)
read()performance when the line event is not configured.
v0.2.2 (13 May 2012)
- Added a
byteOffsetparameter to the callback of emitted
v0.2.1 (13 May 2012)
v0.2.0 (02 May 2012)
- Fixed some bugs when the buffer had the same or less size than the bytes to read.
- Now the constructor receives an object in literal notation for the settings.
- Added start and end offsets parameters for limitting the range of the read.
- Added a
seek()function for moving the file cursor for the next reading operation.
skip()performance. Now it calls to
seek()function with the appropriate offset instead of reading the content into the buffer trying to simulate a jump.
v0.1.2 (29 Apr 2012)
skip()function to skip bytes.
v0.1.1 (25 Apr 2012)
interrupt()function to stop the file reading started with
v0.1.0 (25 Apr 2012)
- New feature. Now it's possible to read a chunk of bytes using internal buffers.
v0.0.6 (21 Apr 2012)
- Changed the way the module is required. Now can be required using
var BufferedReader = require ("buffered-reader");
v0.0.5 (16 Apr 2012)
v0.0.4 (12 Apr 2012)
read()can be called multiple times with the same
v0.0.3 (11 Apr 2012)
- Fixed bug with Windows end of lines.
v0.0.2 (11 Apr 2012)
- First commit.