Package encodings :: Module zlib_codec :: Class IncrementalEncoder
[hide private]
[frames] | no frames]

Class IncrementalEncoder

               object --+    
                        |    
codecs.IncrementalEncoder --+
                            |
                           IncrementalEncoder

Instance Methods [hide private]
 
__init__(self, errors='strict')
Creates an IncrementalEncoder instance.
 
encode(self, input, final=False)
Encodes input and returns the resulting object.
 
reset(self)
Resets the encoder to the initial state.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, errors='strict')
(Constructor)

 

Creates an IncrementalEncoder instance.

The IncrementalEncoder may use different error handling schemes by providing the errors keyword argument. See the module docstring for a list of possible values.

Overrides: object.__init__
(inherited documentation)

encode(self, input, final=False)

 

Encodes input and returns the resulting object.

Overrides: codecs.IncrementalEncoder.encode
(inherited documentation)

reset(self)

 

Resets the encoder to the initial state.

Overrides: codecs.IncrementalEncoder.reset
(inherited documentation)