Your IP : 18.116.13.192


Current Path : /opt/alt/python38/lib64/python3.8/email/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/email/__pycache__/base64mime.cpython-38.opt-2.pyc

U

i�f�
�@spddddddgZddlmZddlmZmZd	Zd
ZdZdZ	d
d�Z
ddd�Zdefdd�Zdd�Z
e
Ze
ZdS)�body_decode�body_encode�decode�decodestring�
header_encode�
header_length�)�	b64encode)�
b2a_base64�
a2b_base64z
�
��cCs*tt|�d�\}}|d}|r&|d7}|S)N��)�divmod�len)�	bytearrayZgroups_of_3Zleftover�n�r�5/opt/alt/python38/lib64/python3.8/email/base64mime.pyr2s
�
iso-8859-1cCs6|sdSt|t�r|�|�}t|��d�}d||fS)Nr�asciiz=?%s?b?%s?=)�
isinstance�str�encoderr)Zheader_bytes�charsetZencodedrrrr=s

�LcCs~|s|Sg}|dd}tdt|�|�D]J}t||||���d�}|�t�rh|tkrh|dd�|}|�|�q(t�|�S)Nrrrr���)	�rangerr	r�endswith�NL�append�EMPTYSTRING�join)�sZ
maxlinelenZeolZencvecZ
max_unencoded�i�encrrrrLs
cCs.|s
t�St|t�r"t|�d��St|�SdS)Nzraw-unicode-escape)�bytesrrr
r)�stringrrrrfs

N)r)�__all__�base64rZbinasciir	r
ZCRLFr r"ZMISC_LENrrrrrrrrrr�<module>s$�



?>