Package org.apache.mina.util.byteaccess
-
Interface Summary Interface Description ByteArray Represents a sequence of bytes that can be read or written directly or through a cursor.ByteArray.Cursor Provides relocatable, relative access to the underlying array.ByteArrayFactory A factory forByteArray
s.CompositeByteArray.CursorListener Allows for efficient detection of component boundaries when using a cursor.CompositeByteArrayRelativeWriter.Expander An object that knows how to expand aCompositeByteArray
.CompositeByteArrayRelativeWriter.Flusher An object that knows how to flush aByteArray
.IoAbsoluteReader Provides absolute read access to a sequence of bytes.IoAbsoluteWriter Provides absolute write access to a sequence of bytes.IoRelativeReader Provides relative read access to a sequence of bytes.IoRelativeWriter Provides relative read access to a sequence of bytes. -
Class Summary Class Description BufferByteArray AByteArray
backed by aIoBuffer
.ByteArrayPool CreatesByteArray
s, using a pool to reduce allocation where possible.CompositeByteArray A ByteArray composed of other ByteArrays.CompositeByteArrayRelativeReader Provides restricted, relative, read-only access to the bytes in aCompositeByteArray
.CompositeByteArrayRelativeWriter Provides restricted, relative, write-only access to the bytes in aCompositeByteArray
.CompositeByteArrayRelativeWriter.ChunkedExpander Expands the suppliedCompositeByteArray
by the number of bytes provided in the constructorCompositeByteArrayRelativeWriter.NopExpander No-op expander.SimpleByteArrayFactory CreatesByteArray
backed by a heap-allocatedIoBuffer
.