MKI_FileWriteInitNull (File I/O) |
www.CAD6.com |
C++ Syntaxbool MKI_FileWriteInitNull( void );
Prepares writing to Null (i.e. to nowhere) using an additional, high-performance read cache. This cache will automatically be used by all MKI_FileWrite* procedures.
Return ValueReturns true if the cache has been established successfully, else false (indicating insufficient memory).
CommentData written to Null will not be saved anywhere, only the bytes and lines "written" will be counted. This can be used to determine a file's size without explicitly writing it to disk. Usually, this procedure is used prior to MKI_FileWriteInitMemory to determine the required size of the memory image.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH