Your IP : 3.144.227.3


Current Path : /opt/alt/python39/lib64/python3.9/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/encodings/__pycache__/base64_codec.cpython-39.pyc

a

R�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�strictcCs|dksJ�t�|�t|�fS�Nr)�base64�encodebytes�len��input�errors�r
�;/opt/alt/python39/lib64/python3.9/encodings/base64_codec.py�
base64_encode
srcCs|dksJ�t�|�t|�fSr)r�decodebytesrrr
r
r�
base64_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r��selfrr	r
r
r�encodeszCodec.encodecCs
t||�Sr)rrr
r
r�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCs|jdksJ�t�|�Sr)r	rr�rr�finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs|jdksJ�t�|�Sr)r	rr
rr
r
rr!szIncrementalDecoder.decodeN)F)rrrrr
r
r
rr src@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper
r
r
rr%src@seZdZeZdS)�StreamReaderNrr
r
r
rr (sr c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrr r
r
r
r�getregentry-s�r))r)r)�__doc__r'rrrrrrrr r)r
r
r
r�<module>s



?>