Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdString::preallocate Method
Syntax
C++
inline void preallocate(int length);

Assures the character buffer of this String object is at least the specified size.

Parameters
Description
length
[in] New length of internal buffer.

This function destroys the existing string contents if any. String length is set to 0.

Copyright © 2002-2022. Open Design Alliance All rights reserved.