It looks like this is basically a duplicate of org.xnio.streams.ChannelOutputStream ?