API Reference > Other Classes > OdString Class > OdString Methods > OdString::getBuffer Method
OdString::getBuffer Method
Syntax
C++
OdChar* getBuffer(int minBufLength);
Parameters 
Description 
minBufferLength 
[in] Minimum buffer length. 

Returns a modifiable C style OdChar array (buffer) of the specified minimum length for this String object.

releaseBuffer() should be called before using any other OdString methods. 

The pointer returned by this function is not valid after releaseBuffer() is called.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.