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 forByteArrays.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 AbstractByteArray Abstract class that implementsByteArray.BufferByteArray AByteArraybacked by aIoBuffer.ByteArrayList A linked list that storesByteArrays and maintains several useful invariants.ByteArrayPool CreatesByteArrays, using a pool to reduce allocation where possible.CompositeByteArray A ByteArray composed of other ByteArrays.CompositeByteArrayRelativeBase Provides common functionality between theCompositeByteArrayRelativeReaderandCompositeByteArrayRelativeWriter.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 suppliedCompositeByteArrayby the number of bytes provided in the constructorCompositeByteArrayRelativeWriter.NopExpander No-op expander.SimpleByteArrayFactory CreatesByteArraybacked by a heap-allocatedIoBuffer.