@Override
        public ByteBuffer next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            ByteBuffer ret = next;
            next = null;
            return ret;
        }
<p>Creates a {@link ContentInputStream} that wraps this ReadableContentChannel.</p>

@return The new ContentInputStream that wraps this.
jdisc_core/src/main/java/com/yahoo/jdisc/handler/ReadableContentChannel.java