Your IP : 18.119.117.77


Current Path : /opt/alt/python311/lib64/python3.11/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/encodings/__pycache__/base64_codec.cpython-311.pyc

�

c��f�����dZddlZddlZdd�Zdd�ZGd�dej��ZGd�d	ej��ZGd
�dej��ZGd�d
eej��ZGd�deej	��Z	d�Z
dS)z�Python 'base64_codec' Codec - base64 content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
�N�strictc�X�|dksJ�tj|��t|��fS�Nr)�base64�encodebytes�len��input�errorss  �=/opt/alt/python311/lib64/python3.11/encodings/base64_codec.py�
base64_encoder

�/���X�������u�%�%�s�5�z�z�2�2�c�X�|dksJ�tj|��t|��fSr)r�decodebytesrr	s  r�
base64_decoderrrc��eZdZdd�Zdd�ZdS)�Codecrc�"�t||��S�N)r
��selfr
rs   r�encodezCodec.encode����U�F�+�+�+rc�"�t||��Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs<������,�,�,�,�,�,�,�,�,�,rrc��eZdZdd�ZdS)�IncrementalEncoderFc�D�|jdksJ�tj|��Sr)rrr�rr
�finals   rrzIncrementalEncoder.encode�&���{�h�&�&�&�&��!�%�(�(�(rN�F)rrr rr!rrr#r#�(������)�)�)�)�)�)rr#c��eZdZdd�ZdS)�IncrementalDecoderFc�D�|jdksJ�tj|��Sr)rrrr%s   rrzIncrementalDecoder.decode!r'rNr()rrr rr!rrr+r+ r)rr+c��eZdZeZdS)�StreamWriterN�rrr �bytes�charbuffertyper!rrr.r.%��������N�N�Nrr.c��eZdZeZdS)�StreamReaderNr/r!rrr4r4(r2rr4c
�v�tjdtttt
ttd���S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rr#r+r.r4r!rr�getregentryr>-s4����
���-�-�!�!��	�	�	�	rr)�__doc__r<rr
rrr#r+r.r4r>r!rr�<module>r@sH�����
�
�
�
�
�
�
�3�3�3�3�3�3�3�3�,�,�,�,�,�F�L�,�,�,�)�)�)�)�)��2�)�)�)�
)�)�)�)�)��2�)�)�)�
�����5�&�-���������5�&�-����

�
�
�
�
r

?>