Class CompositeByteArrayRelativeWriter.ChunkedExpander

java.lang.Object
org.apache.mina.util.byteaccess.CompositeByteArrayRelativeWriter.ChunkedExpander
All Implemented Interfaces:
CompositeByteArrayRelativeWriter.Expander
Enclosing class:
CompositeByteArrayRelativeWriter

public static class CompositeByteArrayRelativeWriter.ChunkedExpander extends Object implements CompositeByteArrayRelativeWriter.Expander
Expands the supplied CompositeByteArray by the number of bytes provided in the constructor
  • Field Details

    • baf

      private final ByteArrayFactory baf
    • newComponentSize

      private final int newComponentSize
  • Constructor Details

    • ChunkedExpander

      public ChunkedExpander(ByteArrayFactory baf, int newComponentSize)
      Creates a new ChunkedExpander instance
      Parameters:
      baf - The byte array factory
      newComponentSize - The new size
  • Method Details