FileStream

from panda3d.core import FileStream
class FileStream

Bases: iostream

Implements a C++ stream object suitable for reading from and/or writing to files on disk. This is similar to fstream, 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).

Inheritance diagram

Inheritance diagram of FileStream

__init__(*args, **kwargs)
close()

C++ Interface: close(const FileStream self)

/**

*/

open()

C++ Interface: open(const FileStream self, str filename, int mode)

/**

*/