E57 Foundation API v1.1.312  Aug. 10, 2011
size_t capacity ( ) const

Get total capacity of buffer.

The API programmer is responsible for correctly specifying the length of a buffer. This function returns that declared length. If the length is incorrect (in particular, too long) memory may be corrupted or erroneous values written.

Postcondition:
No visible state is modified.
Returns:
Total capacity of buffer.
Exceptions:
E57_ERROR_INTERNALAll objects in undocumented state
See also:
SourceDestBufferFunctions.cpp example
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines