ok
Direktori : /opt/alt/python38/lib64/python3.8/email/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/email/__pycache__/base64mime.cpython-38.opt-2.pyc |
U .��c� � @ sp d dddddgZ ddlmZ ddlmZmZ d Zd ZdZdZ d d� Z ddd�Zdefdd�Zdd� Z e Ze ZdS )�body_decode�body_encode�decode�decodestring� header_encode� header_length� )� b64encode)� b2a_base64� a2b_base64z � � � c C s* t t| �d�\}}|d }|r&|d7 }|S )N� � )�divmod�len)� bytearrayZgroups_of_3Zleftover�n� r �5/opt/alt/python38/lib64/python3.8/email/base64mime.pyr 2 s � iso-8859-1c C s6 | sdS t | t�r| �|�} t| ��d�}d||f S )Nr �asciiz=?%s?b?%s?=)� isinstance�str�encoder r )Zheader_bytes�charsetZencodedr r r r = s �L c C s~ | s| S g }|d d }t dt| �|�D ]J}t| ||| � ��d�}|�t�rh|tkrh|d d� | }|�|� q(t�|�S )Nr r r r ���) �ranger r r �endswith�NL�append�EMPTYSTRING�join)�sZ maxlinelenZeolZencvecZ max_unencoded�i�encr r r r L s c C s. | s t � S t| t�r"t| �d��S t| �S d S )Nzraw-unicode-escape)�bytesr r r r )�stringr r r r f s N)r )�__all__�base64r Zbinasciir r ZCRLFr r"