Interface MessageOutput.Buffer.OptionBuilder

Enclosing interface:
MessageOutput.Buffer

public static sealed interface MessageOutput.Buffer.OptionBuilder
A builder of MessageOutput.Buffer options.
  • Method Details

    • initialCapacity

      MessageOutput.Buffer.OptionBuilder initialCapacity(int capacity)

      Sets the initial capacity, in bytes, of the byte buffer to be produced.

      Default: 1024

      Parameters:
      capacity - the initial capacity, in bytes, of the byte buffer to be produced
      Returns:
      this builder