SubStream

from panda3d.core import SubStream
class SubStream

Bases: iostream

Combined ISubStream and OSubStream for bidirectional I/O.

Inheritance diagram

Inheritance diagram of SubStream

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

C++ Interface: close(const SubStream self)

/**
  • Resets the SubStream to empty, but does not actually close the nested

  • ostream.

*/

open()

C++ Interface: open(const SubStream self, StreamWrapper nested, long start, long end, bool append)

/**
  • Starts the SubStream reading and writing from the indicated nested stream,

  • within the indicated range. “end” is the first character outside of the

  • range.

  • If end is zero, it indicates that the SubStream will continue until the end

  • of the nested stream.

*/