Enable signaling EOF by passing NULL for the buffer
Merge pull request #16 from dstufft/signal-eof

Enable signaling EOF by passing NULL for the buffer