public static class CompositeByteArrayRelativeWriter.ChunkedExpander extends Object implements CompositeByteArrayRelativeWriter.Expander
CompositeByteArray by the number of
bytes provided in the constructor| Constructor and Description |
|---|
ChunkedExpander(ByteArrayFactory baf,
int newComponentSize)
Creates a new ChunkedExpander instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
expand(CompositeByteArray cba,
int minSize)
Expand a ByteBuffer by minSize bytes
|
public ChunkedExpander(ByteArrayFactory baf, int newComponentSize)
baf - The byte array factorynewComponentSize - The new sizepublic void expand(CompositeByteArray cba, int minSize)
expand in interface CompositeByteArrayRelativeWriter.Expandercba - The ByteBuffer to expandminSize - The new added sizeCopyright © 2004–2024 Apache MINA Project. All rights reserved.