- use
setImmediate
instead ofnextTick
new FdSlicer(fd, options)
must now befdSlicer.createFromFd(fd, options)
- fix behavior when
end
is 0. - fix
createWriteStream
when usingcreateFromBuffer
- add ability to create an FdSlicer instance from a Buffer
- fix write stream and read stream destroy behavior
- write stream: fix end option behavior
- write stream emits 'progress' events
- write stream supports 'end' option which causes the stream to emit an error if a maximum size is exceeded
- improve documentation
- Update pend dependency to latest bugfix version.
- Add read and write functions
- Add
autoClose
option andref()
andunref()
.
- Add API documentation
- read stream: create buffer at last possible moment
- Initial release