Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.webencodings.IncrementalEncoder Class Reference
Inheritance diagram for pip._vendor.webencodings.IncrementalEncoder:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.webencodings.IncrementalEncoder:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, encoding=UTF8, errors='strict')
 

Public Attributes

 encode
 

Detailed Description

“Push”-based encoder.

:param encoding: An :class:`Encoding` object or a label string.
:param errors: Type of error handling. See :func:`codecs.register`.
:raises: :exc:`~exceptions.LookupError` for an unknown encoding label.

.. method:: encode(input, final=False)

    :param input: An Unicode string.
    :param final:
        Indicate that no more input is available.
        Must be :obj:`True` if this is the last call.
    :returns: A byte string.

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