AlkantarClanX12

Your IP : 3.16.82.208


Current Path : /opt/alt/python38/lib64/python3.8/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/encodings/__pycache__/base64_codec.cpython-38.pyc

U

i�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t�t�|�t|�fS�Nr)�AssertionError�base64�encodebytes�len��input�errors�r�;/opt/alt/python38/lib64/python3.8/encodings/base64_codec.py�
base64_encode
sr
cCs|dkst�t�|�t|�fSr)rr�decodebytesrrrrr�
base64_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r
��selfr	r
rrr�encodeszCodec.encodecCs
t||�Sr)rrrrr�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrrrrrrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCs|jdkst�t�|�Sr)r
rrr�rr	�finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs|jdkst�t�|�Sr)r
rrrrrrrr!szIncrementalDecoder.decodeN)F)rrrrrrrrr src@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr%src@seZdZeZdS)�StreamReaderNrrrrrr!(sr!c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrrrr!rrrr�getregentry-s�r*)r)r)�__doc__r(rr
rrrrrr!r*rrrr�<module>s