Ends the stream. <p> Once the stream has ended, it cannot be used any more.
Same as {@link #end()} but with an {@code handler} called when the operation completes
Write some data to the stream. The data is put on an internal write queue, and the write actually happens asynchronously. To avoid running out of memory by putting too much on the write queue, check the {@link #writeQueueFull} method before writing. This is done automatically if using a {@link Pump}.
Same as {@link #write(T)} but with an {@code handler} called when the operation completes