- use
setImmediate
instead of nextTick
new FdSlicer(fd, options)
must now be fdSlicer.createFromFd(fd, options)
- fix behavior when
end
is 0.
- fix
createWriteStream
when using createFromBuffer
- 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 and ref()
and unref()
.
- Add API documentation
- read stream: create buffer at last possible moment