Bases: object
Proxy of C++ PCore::LWFileIOFuncs class
Close a file opened by LWFileIOFuncs::openLoad()
.
Close a file opened by LWFileIOFuncs::openSave()
.
Open a file for reading. The ioMode
values are the same as those for LWFileIOFuncs::openSave()
.
Open a file for writing. ioMode
can be one of the following:
lwsdk.LWIO_ASCII
Create a text file. Write operations will be line-buffered.
lwsdk.LWIO_BINARY
Create a binary file. Block writes will always use 2-byte integers for block sizes.
lwsdk.LWIO_BINARY_IFF
Create a binary file. Block sizes will be 4-byte integers for the first two
nesting levels and 2-byte integers at deeper levels, corresponding to the chunk
and subchunk scheme used in LightWave object files.
lwsdk.LWIO_BINARY_IFF32
(rev.3+)
Create a binary file. Block sizes will be 4-byte integers for all nesting levels.