is used when there is a direct ByteBuffer only.
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).
Can work with either direct or heap based buffers and uses pools to re-use the allocated buffers.