AlkantarClanX12
Current Path : /opt/alt/python34/lib64/python3.4/encodings/__pycache__/ |
Current File : //opt/alt/python34/lib64/python3.4/encodings/__pycache__/base64_codec.cpython-34.pyo |
� j f� � @ s� d Z d d l Z d d l Z d d d � Z d d d � Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e e j � Z Gd d � d e e j � Z d d � Z d S)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�strictc C s t j | � t | � f S)N)�base64�encodebytes�len)�input�errors� r �;/opt/alt/python34/lib64/python3.4/encodings/base64_codec.py� base64_encode s r c C s t j | � t | � f S)N)r �decodebytesr )r r r r r � base64_decode s r c @ s. e Z d Z d d d � Z d d d � Z d S)�Codecr c C s t | | � S)N)r )�selfr r r r r �encode s zCodec.encodec C s t | | � S)N)r )r r r r r r �decode s zCodec.decodeN)�__name__� __module__�__qualname__r r r r r r r s r c @ s e Z d Z d d d � Z d S)�IncrementalEncoderFc C s t j | � S)N)r r )r r �finalr r r r s zIncrementalEncoder.encodeN)r r r r r r r r r s r c @ s e Z d Z d d d � Z d S)�IncrementalDecoderFc C s t j | � S)N)r r )r r r r r r r ! s zIncrementalDecoder.decodeN)r r r r r r r r r s r c @ s e Z d Z e Z d S)�StreamWriterN)r r r �bytes�charbuffertyper r r r r % s r c @ s e Z d Z e Z d S)�StreamReaderN)r r r r r r r r r r ( s r c C s: t j d d d t d t d t d t d t d t d d � S)N�namer r r �incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encodingF)�codecs� CodecInfor r r r r r r r r r �getregentry- s r# )�__doc__r! r r r r r r r r r# r r r r �<module> s