Your IP : 3.137.189.236


Current Path : /opt/alt/python310/lib64/python3.10/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/encodings/__pycache__/base64_codec.cpython-310.pyc

o

6��f��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�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�strictcC�|dksJ�t�|�t|�fS�Nr)�base64�encodebytes�len��input�errors�r�=/opt/alt/python310/lib64/python3.10/encodings/base64_codec.py�
base64_encode
�r
cCrr)r�decodebytesrrrrr�
base64_decoderrc@s eZdZddd�Zddd�ZdS)�CodecrcC�
t||�S�N)r
��selfr	r
rrr�encode�
zCodec.encodecCrr)rrrrr�decoderzCodec.decodeN�r)�__name__�
__module__�__qualname__rrrrrrrs
rc@�eZdZddd�ZdS)�IncrementalEncoderFcC�|jdksJ�t�|�Sr)r
rr�rr	�finalrrrr�
zIncrementalEncoder.encodeN�F)rrrrrrrrr�rc@r)�IncrementalDecoderFcCrr)r
rrr rrrr!r"zIncrementalDecoder.decodeNr#)rrrrrrrrr% r$r%c@�eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr'%�r'c@r&)�StreamReaderNr(rrrrr,(r+r,c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrr%r'r,rrrr�getregentry-s�r5r)�__doc__r3rr
rrrr%r'r,r5rrrr�<module>s



?>