HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3.8/encodings/__pycache__/quopri_codec.cpython-38.pyc
U

2�f��@s�dZddlZddlZddlmZddd�Zddd�ZGd	d
�d
ej�ZGdd�dej�ZGd
d�dej	�Z	Gdd�deej
�Z
Gdd�deej�Zdd�ZdS)zQCodec for quoted-printable encoding.

This codec de/encodes from bytes to bytes.
�N)�BytesIO�strictcCs:|dkst�t|�}t�}tj||dd�|��t|�fS)NrT)Z	quotetabs)�AssertionErrorr�quopri�encode�getvalue�len��input�errors�f�g�r�,/usr/lib/python3.8/encodings/quopri_codec.py�
quopri_encode
s
rcCs6|dkst�t|�}t�}t�||�|��t|�fS)Nr)rrr�decoderrr	rrr�
quopri_decodes
rc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r��selfr
rrrrrszCodec.encodecCs
t||�Sr)rrrrrrszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrrrrrrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS�Nr)rr�rr
�finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dSr)rrrrrrr#szIncrementalDecoder.decodeN)F)rrrrrrrrr"src@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr&src@seZdZeZdS)�StreamReaderNr rrrrr#)sr#c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrr#rrrr�getregentry.s�r,)r)r)
�__doc__r*r�iorrrrrrrr#r,rrrr�<module>s