Module net.morimekta.io
Package net.morimekta.io.sub
This module contains stream classes that partially
wrap another stream. These will then make a stream for a
part of (sub) the original stream, and when closed will
let the enclosed stream continue as if a single value was
read.
Each stream is designed to handle a single enclosed sub- part, and when closed will not read another part or frame.
Behavior is also always undefined if the streams are not closed.
-
Interface Summary Interface Description FramedInputStream.FrameSizeReader FramedOutputStream.FrameSizeWriter -
Class Summary Class Description FramedInputStream The framed input stream is a stream with a fixed size as pars of the underlying input stream.FramedOutputStream The framed input stream is a stream with a fixed size as pars of the underlying input stream.TerminatedInputStream A wrapping input stream that terminated the input whenever the terminating byte is read.TerminatedOutputStream A wrapping output stream that writes a terminating byte when closing the stream.