The GetBufferSize method returns size of internal data buffer as allocated during initialization.
long GetBufferSize(void);
GetBufferSize() As Long


Method has no parameters.

Return Values

The return value is the size of internal data buffer, in bytes.
If the method fails, the return value is failure code and error code is set. Call GetError to get error code.


When Initialize method is called, internal data buffer of requested size is allocated. Its size is fixed but user can change the size of its active part with SetActiveBufferSize method to optimize application performance.

See Also

GetActiveBufferSize, SetActiveBufferSize, GetBlockSize, Initialize, Object Creation and Initialization, Reading and Writing Data