AlkantarClanX12

Your IP : 3.145.75.238


Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/base64_codec.cpython-312.opt-1.pyc

�

�Q�f����dZddlZddlZdd�Zdd�ZGd�dej
�ZGd�dej�ZGd	�d
ej�ZGd�deej�ZGd
�deej�Z	d�Z
y)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).
�Nc�B�tj|�t|�fS�N)�base64�encodebytes�len��input�errorss  �=/opt/alt/python312/lib64/python3.12/encodings/base64_codec.py�
base64_encoder
������u�%�s�5�z�2�2�c�B�tj|�t|�fSr)r�decodebytesrrs  r�
base64_decoderr
rc��eZdZdd�Zdd�Zy)�Codecc��t||�Sr)r��selfr	r
s   r�encodezCodec.encode����U�F�+�+rc��t||�Sr)rrs   r�decodezCodec.decoderrN��strict)�__name__�
__module__�__qualname__rr�rrrrs��,�,rrc��eZdZdd�Zy)�IncrementalEncoderc�,�tj|�Sr)rr�rr	�finals   rrzIncrementalEncoder.encode����!�!�%�(�(rN�F)rrrrr rrr"r"���)rr"c��eZdZdd�Zy)�IncrementalDecoderc�,�tj|�Sr)rrr$s   rrzIncrementalDecoder.decode!r&rNr')rrrrr rrr*r* r(rr*c��eZdZeZy)�StreamWriterN�rrr�bytes�charbuffertyper rrr-r-%����Nrr-c��eZdZeZy)�StreamReaderNr.r rrr3r3(r1rr3c
�l�tjdtttt
ttd��S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrr"r*r-r3r rr�getregentryr=-s-�����
���-�-�!�!��	�	rr)�__doc__r;rrrrr"r*r-r3r=r rr�<module>r?s}����
�3�3�,�F�L�L�,�)��2�2�)�
)��2�2�)�
�5�&�-�-���5�&�-�-��

r