from panda3d.core import IFileStream
class IFileStream

Bases: istream

Implements a C++ stream object suitable for reading from files on disk. This is similar to ifstream, 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 IFileStream

__init__() → None
__init__(filename: str, mode: openmode) → None
close() → None
open(filename: str, mode: openmode) → None