Package | Description |
---|---|
com.devexperts.io |
Provides input/output utility classes.
|
Modifier and Type | Field and Description |
---|---|
static ChunkList |
ChunkList.EMPTY
Read-only empty chunk list.
|
Modifier and Type | Method and Description |
---|---|
ChunkList |
ChunkPool.copyToChunkList(byte[] bytes,
int offset,
int length,
Object owner)
Extracts a
ChunkList from the pool for specified owner
and fills it with data from specified byte array. |
protected ChunkList |
ChunkPool.createNewChunkList(Object owner)
Constructs a new
ChunkList of specified owner. |
ChunkList |
ChunkPool.getChunkList(Object owner)
Extracts a
ChunkList from the pool (or creates new one if
the pool is empty). |
ChunkList |
ChunkedOutput.getOutput(Object owner)
Retrieves generated output chunks for specified owner.
|
static ChunkList |
ChunkList.wrap(byte[] bytes,
int offset,
int length,
Object owner)
Constructs a new chunk list of specified owner that wraps specified byte array
with specified range of data, and does not correspond to any
pool . |
static ChunkList |
ChunkList.wrap(byte[] bytes,
Object owner)
Constructs a new chunk list of specified owner that wraps specified byte array
and does not correspond to any
pool . |
Modifier and Type | Method and Description |
---|---|
void |
ChunkList.addAll(ChunkList chunks,
Object owner)
Adds chunks from specified chunk list into the end of this one.
|
void |
ChunkedInput.addAllToInput(ChunkList chunkList,
Object owner)
Adds specified chunks to the input.
|
protected void |
ChunkPool.recycleChunkList(ChunkList chunkList,
Object owner)
Returns the specified
ChunkList into the pool. |
void |
ChunkedOutput.writeAllFromChunkList(ChunkList chunks,
Object owner)
Writes all data from specified chunk list into this buffered output.
|
void |
BufferedOutput.writeAllFromChunkList(ChunkList chunks,
Object owner)
Writes all data from specified chunk list into this buffered output.
|
Copyright © 2002–2025 Devexperts LLC. All rights reserved.