wx.OutputStream

Inheritance diagram for wx.OutputStream:



Description

wx.OutputStream is an abstract base class which may not be used directly.

Class API

Methods

__init__(p)

Creates a dummy wx.OutputStream object.

Parameters:

  • p (PyObject)

Returns:

wx.OutputStream


LastWrite()

Returns the number of bytes written during the last write. It may return 0 even if there is no error on the stream if it is only temporarily impossible to write to it.


Returns:

long


PutC(c)

Puts the specified character in the output queue and increments the stream position.

Parameters:

  • c (string)

SeekO(pos, mode=wx.FromStart)

Changes the stream current position.

Parameters:

  • pos (int): Offset to seek to
  • mode (int): One of wx.FromStart, wx.FromEnd, wx.FromCurrent

Returns:

long


TellO()

Returns the current stream position.


Returns:

long


close()
No docstrings available for this method.

eof()
No docstrings available for this method.

flush()
No docstrings available for this method.

seek(offset, whence=0)

Parameters:

  • offset (int)
  • whence (int)

tell()
No docstrings available for this method.

write(data)

Parameters:

  • data (PyObject)