MythTV  master
Public Member Functions | Public Attributes | List of all members
rev3.OutStreamEncoder Class Reference
Inheritance diagram for rev3.OutStreamEncoder:
[legend]
Collaboration diagram for rev3.OutStreamEncoder:
[legend]

Public Member Functions

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

Public Attributes

 out
 
 encoding
 

Detailed Description

Wraps a stream with an encoder

Definition at line 177 of file rev3.py.

Constructor & Destructor Documentation

◆ __init__()

def rev3.OutStreamEncoder.__init__ (   self,
  outstream,
  encoding = None 
)

Definition at line 179 of file rev3.py.

Member Function Documentation

◆ write()

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

Definition at line 186 of file rev3.py.

◆ __getattr__()

def rev3.OutStreamEncoder.__getattr__ (   self,
  attr 
)
Delegate everything but write to the stream

Definition at line 192 of file rev3.py.

Member Data Documentation

◆ out

rev3.OutStreamEncoder.out

◆ encoding

rev3.OutStreamEncoder.encoding

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