Class CompositeByteArrayRelativeWriter.NopExpander
java.lang.Object
org.apache.mina.util.byteaccess.CompositeByteArrayRelativeWriter.NopExpander
- All Implemented Interfaces:
CompositeByteArrayRelativeWriter.Expander
- Enclosing class:
CompositeByteArrayRelativeWriter
public static class CompositeByteArrayRelativeWriter.NopExpander
extends Object
implements CompositeByteArrayRelativeWriter.Expander
No-op expander. The overridden method does nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexpand(CompositeByteArray cba, int minSize) Expand a ByteBuffer by minSize bytes
-
Constructor Details
-
NopExpander
public NopExpander()
-
-
Method Details
-
expand
Expand a ByteBuffer by minSize bytes- Specified by:
expandin interfaceCompositeByteArrayRelativeWriter.Expander- Parameters:
cba- The ByteBuffer to expandminSize- The new added size
-