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

type 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.
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: codecs.IncrementalEncoder.__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)