MythTV  master
Public Member Functions | Public Attributes | List of all members
giantbomb.OutStreamEncoder Class Reference
Inheritance diagram for giantbomb.OutStreamEncoder:
Inheritance graph
Collaboration diagram for giantbomb.OutStreamEncoder:
Collaboration graph

Public Member Functions

def __init__ (self, outstream, encoding=None)
def write (self, obj)
def __getattr__ (self, attr)

Public Attributes


Detailed Description

Wraps a stream with an encoder

Definition at line 154 of file

Constructor & Destructor Documentation

◆ __init__()

def giantbomb.OutStreamEncoder.__init__ (   self,
  encoding = None 

Definition at line 157 of file

Member Function Documentation

◆ write()

def giantbomb.OutStreamEncoder.write (   self,
Wraps the output stream, encoding Unicode strings with the specified encoding

Definition at line 164 of file

◆ __getattr__()

def giantbomb.OutStreamEncoder.__getattr__ (   self,
Delegate everything but write to the stream

Definition at line 173 of file

Member Data Documentation

◆ out


◆ encoding


Definition at line 160 of file

Referenced by giantbomb.OutStreamEncoder.write().

The documentation for this class was generated from the following file: