Module
Package org.xnio.streams
package org.xnio.streams
Utility classes for creating streams which use XNIO channels.
-
ClassDescriptionAn input stream which reads from a stream source channel with a buffer.An
InputStream
implementation which is populated asynchronously withByteBuffer
instances.A handler for events relating to the consumption of data from aBufferPipeInputStream
instance.AnOutputStream
implementation which writes outByteBuffer
s to a consumer.A buffer writer for anBufferPipeOutputStream
.An input stream which reads from a stream source channel.An output stream which writes to a stream sink channel.An input stream which truncates the underlying stream to the given length.An output stream which truncates the writable output to the given length.An in-VM pipe between an input stream and an output stream, which does not suffer from the bugs inPipedInputStream
.An input stream which encodes characters into bytes.Stream utility class.An output stream which decodes bytes into a character writer.