ok

Mini Shell

Direktori : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/base64_codec.cpython-35.pyc



?�Ma��@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+|dkst�tj|�t|�fS)Nr)�AssertionError�base64�encodebytes�len)�input�errors�r	�;/opt/alt/python35/lib64/python3.5/encodings/base64_codec.py�
base64_encode
srcCs+|dkst�tj|�t|�fS)Nr)rr�decodebytesr)rrr	r	r
�
base64_decodesr
c@s.eZdZddd�Zddd�ZdS)�CodecrcCs
t||�S)N)r)�selfrrr	r	r
�encodeszCodec.encodecCs
t||�S)N)r
)rrrr	r	r
�decodeszCodec.decodeN)�__name__�
__module__�__qualname__rrr	r	r	r
rsrc@seZdZddd�ZdS)�IncrementalEncoderFcCs"|jdkst�tj|�S)Nr)rrrr)rr�finalr	r	r
rszIncrementalEncoder.encodeN)rrrrr	r	r	r
rsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs"|jdkst�tj|�S)Nr)rrrr)rrrr	r	r
r!szIncrementalDecoder.decodeN)rrrrr	r	r	r
r src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyper	r	r	r
r%src@seZdZeZdS)�StreamReaderN)rrrrrr	r	r	r
r(srcCs:tjdddtdtdtdtdtdtd	d
�S)N�namerrr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encodingF)�codecs�	CodecInforr
rrrrr	r	r	r
�getregentry-s	r$)�__doc__r"rrr
rrrrrr$r	r	r	r
�<module>s

Zerion Mini Shell 1.0