from panda3d.core import OFileStream
Implements a C++ stream object suitable for writing to files on disk. This is similar to ofstream, but it provides low-level support for Panda’s simple-threading implementation (using this interface will block only the current thread, rather than the entire process, on I/O waits).
__init__() → None¶
__init__(filename: str, mode: openmode) → None
open(filename: str, mode: openmode) → None¶
close() → None¶