API Reference > Extension Classes > ExServices Classes > OdBaseFileBuf Class > OdBaseFileBuf Methods > OdBaseFileBuf::truncate Method
OdBaseFileBuf::truncate Method
Syntax
C++
virtual void truncate();

Sets the physical file size for the specified file associated with this StreamBuf object to the current position of the file pointer.

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