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

Public Member Functions

 __init__ (self, fallback_encoding, errors='replace')
 
 decode (self, input, final=False)
 

Public Attributes

 encoding
 

Protected Attributes

 _fallback_encoding
 
 _errors
 
 _buffer
 
 _decoder
 

Detailed Description

“Push”-based decoder.

:param fallback_encoding:
    An :class:`Encoding` object or a label string.
    The encoding to use if :obj:`input` does note have a BOM.
:param errors: Type of error handling. See :func:`codecs.register`.
:raises: :exc:`~exceptions.LookupError` for an unknown encoding label.

Member Function Documentation

◆ decode()

pip._vendor.webencodings.IncrementalDecoder.decode (   self,
  input,
  final = False 
)
Decode one chunk of the input.

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

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