Package | Description |
---|---|
org.apache.mina.util.byteaccess |
Modifier and Type | Class | Description |
---|---|---|
class |
BufferByteArray |
A
ByteArray backed by a IoBuffer . |
class |
CompositeByteArray |
A ByteArray composed of other ByteArrays.
|
Modifier and Type | Method | 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) |
Creates an instance of
ByteArray of size specified by the
size parameter. |
ByteArray |
CompositeByteArray.getFirst() |
|
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
ByteArray s to the given index (splitting
them if necessary) and returning them in a single ByteArray . |
ByteArray |
BufferByteArray.slice(int index,
int length) |
Creates an array with a view of part of this array.
|
ByteArray |
CompositeByteArray.slice(int index,
int length) |
Creates an array with a view of part of this array.
|
ByteArray |
CompositeByteArrayRelativeReader.slice(int length) |
|
ByteArray |
IoAbsoluteReader.slice(int index,
int length) |
Creates an array with a view of part of this array.
|
ByteArray |
IoRelativeReader.slice(int length) |
Modifier and Type | Method | Description |
---|---|---|
void |
CompositeByteArray.addFirst(ByteArray ba) |
Adds the specified
ByteArray to the first
position in the list |
void |
CompositeByteArray.addLast(ByteArray ba) |
Adds the specified
ByteArray to the end of the list |
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) |
Copyright © 2004–2018 Apache MINA Project. All rights reserved.