Your IP : 18.191.205.149


Current Path : /lib64/python3.6/encodings/__pycache__/
Upload File :
Current File : //lib64/python3.6/encodings/__pycache__/base64_codec.cpython-36.opt-1.pyc

3


 \��@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�strictcCstj|�t|�fS)N)�base64�encodebytes�len)�input�errors�r�./usr/lib64/python3.6/encodings/base64_codec.py�
base64_encode
sr
cCstj|�t|�fS)N)r�decodebytesr)rrrrr	�
base64_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S)N)r
)�selfrrrrr	�encodeszCodec.encodecCs
t||�S)N)r)rrrrrr	�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrrrrr	r
s
r
c@seZdZddd�ZdS)�IncrementalEncoderFcCs
tj|�S)N)rr)rr�finalrrr	rszIncrementalEncoder.encodeN)F)rrrrrrrr	rsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs
tj|�S)N)rr)rrrrrr	r!szIncrementalDecoder.decodeN)F)rrrrrrrr	r src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyperrrr	r%src@seZdZeZdS)�StreamReaderN)rrrrrrrrr	r(src
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrrrrrrrr	�getregentry-sr#)r)r)�__doc__r!rr
rr
rrrrr#rrrr	�<module>s



?>