Package org.apache.mina.util.byteaccess
Interface CompositeByteArrayRelativeWriter.Expander
-
- All Known Implementing Classes:
CompositeByteArrayRelativeWriter.ChunkedExpander
,CompositeByteArrayRelativeWriter.NopExpander
- Enclosing class:
- CompositeByteArrayRelativeWriter
public static interface CompositeByteArrayRelativeWriter.Expander
An object that knows how to expand aCompositeByteArray
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
expand(CompositeByteArray cba, int minSize)
Expand a ByteBuffer by minSize bytes
-
-
-
Method Detail
-
expand
void expand(CompositeByteArray cba, int minSize)
Expand a ByteBuffer by minSize bytes- Parameters:
cba
- The ByteBuffer to expandminSize
- The new added size
-
-