관리-도구
편집 파일: base64mime.cpython-310.opt-2.pyc
o 6��f� � @ sj g d �Z ddlmZ ddlmZmZ dZdZdZdZ dd � Z ddd�Zd efdd�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 �7/opt/alt/python310/lib64/python3.10/email/base64mime.pyr 2 s r � iso-8859-1c C s8 | 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 r �L c C s� | sdS g }|d d }t dt| �|�D ]%}t| ||| � ��d�}|�t�r5|tkr5|d d� | }|�|� qt�|�S )Nr r r r r ���) �ranger r r �endswith�NL�append�EMPTYSTRING�join)�sZ maxlinelenZeolZencvecZ max_unencoded�i�encr r r r L s r c C s, | st � S t| t�rt| �d��S t| �S )Nzraw-unicode-escape)�bytesr r r r )�stringr r r r f s r N)r )�__all__�base64r Zbinasciir r ZCRLFr r"