| Package | Description |
|---|---|
| org.apache.mina.util.byteaccess |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AbstractByteArray
Abstract class that implements
ByteArray. |
class |
BufferByteArray
A
ByteArray backed by a IoBuffer. |
private class |
ByteArrayPool.DirectBufferByteArray |
class |
CompositeByteArray
A ByteArray composed of other ByteArrays.
|
| Modifier and Type | Field and Description |
|---|---|
private ByteArray |
ByteArrayList.Node.ba
The ByteArray contained within this node
|
| Modifier and Type | Method and Description |
|---|---|
ByteArray |
ByteArrayFactory.create(int size)
Creates an instance of
ByteArray of size specified by the
size parameter. |
ByteArray |
ByteArrayPool.create(int size)
Creates a new instance of a
ByteArray |
ByteArray |
SimpleByteArrayFactory.create(int size) |
ByteArray |
ByteArrayList.Node.getByteArray() |
ByteArray |
CompositeByteArray.getFirst()
Returns the first
ByteArray in the list |
ByteArray |
CompositeByteArray.removeFirst()
Remove the first
ByteArray in the list |
ByteArray |
CompositeByteArray.removeLast()
Removes the last
ByteArray in the list |
ByteArray |
CompositeByteArray.removeTo(int index)
Remove component
ByteArrays to the given index (splitting
them if necessary) and returning them in a single ByteArray. |
ByteArray |
BufferByteArray.CursorImpl.slice(int length) |
ByteArray |
CompositeByteArray.CursorImpl.slice(int length) |
ByteArray |
CompositeByteArrayRelativeReader.slice(int length) |
ByteArray |
IoRelativeReader.slice(int length)
Creates an array with a view of part of this array.
|
ByteArray |
BufferByteArray.slice(int index,
int length) |
ByteArray |
CompositeByteArray.slice(int index,
int length) |
ByteArray |
IoAbsoluteReader.slice(int index,
int length)
Creates an array with a view of part of this array.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ByteArrayList.addFirst(ByteArray ba)
Adds the specified
ByteArray to
the beginning of the list |
void |
CompositeByteArray.addFirst(ByteArray ba)
Adds the specified
ByteArray to the first
position in the list |
private void |
CompositeByteArray.addHook(ByteArray ba)
This method should be called prior to adding any component
ByteArray to a composite. |
void |
ByteArrayList.addLast(ByteArray ba)
Add the specified
ByteArray to
the end of the list |
void |
CompositeByteArray.addLast(ByteArray ba)
Adds the specified
ByteArray to the end of the list |
void |
CompositeByteArrayRelativeBase.append(ByteArray ba)
Make a
ByteArray available for access at the end of this object. |
void |
CompositeByteArray.CursorListener.enteredFirstComponent(int componentIndex,
ByteArray component)
Called when the first component in the composite is entered by the cursor.
|
void |
CompositeByteArray.CursorListener.enteredLastComponent(int componentIndex,
ByteArray component)
Called when the last component in the composite is entered by the cursor.
|
void |
CompositeByteArray.CursorListener.enteredNextComponent(int componentIndex,
ByteArray component)
Called when the next component in the composite is entered by the cursor.
|
void |
CompositeByteArray.CursorListener.enteredPreviousComponent(int componentIndex,
ByteArray component)
Called when the previous component in the composite is entered by the cursor.
|
void |
CompositeByteArrayRelativeWriter.Flusher.flush(ByteArray ba) |
| Constructor and Description |
|---|
Node(ByteArray ba)
Constructs a new node with a value.
|