API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > OdAnsiString::releaseBuffer Method
OdAnsiString::releaseBuffer Method
Syntax
C++
void releaseBuffer(int newLength = -1);
Parameters 
Description 
int newLength = -1 
[in] New buffer length. 

Releases a buffer obtained by getBuffer() or getBufferSetLength(), and sets its length.

If newLength == -1, the buffer is treated as 0 terminated.

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