API Reference > Other Classes > OdString Class > OdString Methods > OdString::releaseBuffer Method
OdString::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.