Utility functions for MemOutStreamBuf buffer management.

Synopsis

Declared in <bdlsb_memoutstreambuf.h>

struct MemOutStreamBuf_Util;

Static Member Functions

Name

Description

computeNewCapacity

Return a suitable capacity for the specified length and capacity.

Static Data Members

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.

Created with MrDocs