Direct buffers also require a backing array to be specified.
Close the underlying something, but only do it once.
Close the underlying something, but only do it once.
This allows closing of an xml input stream directly after the end doc, but without disturbing the normal model.
Called when processing via Direct Buffers
Called when processing via Direct Buffers
Closes the channel when closeChannel is true - ensure to call from derived classes
Closes the channel when closeChannel is true - ensure to call from derived classes
Called when processing array backed buffers
Called when processing array backed buffers
Receives the next chunk from the underlying
Receives the next chunk from the underlying
Is the underlying resource closed - if true the dataChunkEnumerator will return the Iteratee passed to it, stopping evaluation
Is the underlying resource closed - if true the dataChunkEnumerator will return the Iteratee passed to it, stopping evaluation
Wraps a ReadableByteChannel to provide DataChunks, optionally closes the channel (defaults to closing).
This base implementation should only be used against already provided buffers, prefer using ReadableByteChannelWrapper directly instead.