程序包 | 说明 |
---|---|
org.apache.mina.util.byteaccess |
限定符和类型 | 类和说明 |
---|---|
class |
BufferByteArray
A
ByteArray backed by a IoBuffer . |
class |
CompositeByteArray
A ByteArray composed of other ByteArrays.
|
限定符和类型 | 方法和说明 |
---|---|
ByteArray |
SimpleByteArrayFactory.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 |
ByteArrayFactory.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 |
IoRelativeReader.slice(int length) |
ByteArray |
CompositeByteArrayRelativeReader.slice(int length) |
ByteArray |
IoAbsoluteReader.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 |
BufferByteArray.slice(int index,
int length)
Creates an array with a view of part of this array.
|
限定符和类型 | 方法和说明 |
---|---|
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) |