Utility functions for MemOutStreamBuf buffer management.
Declared in <bdlsb_memoutstreambuf.h>
struct MemOutStreamBuf_Util;
| Name | Description |
|---|---|
computeNewCapacity | Return a suitable capacity for the specified length and capacity. |
| Name | Description |
|---|---|
k_GEOMETRIC_GROWTH_FACTOR | Factor by which the internal buffer grows geometrically. |
k_INITIAL_BUFFER_SIZE | Default initial buffer size. |
k_MAX_GEOMETRIC_GROWTH_LENGTH | Maximum length for geometric buffer growth. |