Interface MessageOutput.Buffer.OptionBuilder
- Enclosing interface:
MessageOutput.Buffer
public static sealed interface MessageOutput.Buffer.OptionBuilder
A builder of
MessageOutput.Buffer options.-
Method Summary
Modifier and TypeMethodDescriptioninitialCapacity(int capacity) Sets the initial capacity, in bytes, of the byte buffer to be produced.
-
Method Details
-
initialCapacity
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
-