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 a CompositeByteArray.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    expand(CompositeByteArray cba, int minSize)
    Expand a ByteBuffer by minSize bytes
  • Method Details

    • expand

      void expand(CompositeByteArray cba, int minSize)
      Expand a ByteBuffer by minSize bytes
      Parameters:
      cba - The ByteBuffer to expand
      minSize - The new added size