Your IP : 3.21.244.240


Current Path : /opt/alt/python33/lib64/python3.3/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/encodings/__pycache__/zlib_codec.cpython-33.pyc

�
��f�c@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS(u�Python 'zlib_codec' Codec - zlib compression encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
iNustrictcCs+|dkst�tj|�t|�fS(Nustrict(uAssertionErroruzlibucompressulen(uinputuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuzlib_encode
suzlib_encodecCs+|dkst�tj|�t|�fS(Nustrict(uAssertionErroruzlibu
decompressulen(uinputuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuzlib_decodesuzlib_decodecBs2|EeZdZddd�Zddd�ZdS(uCodecustrictcCs
t||�S(N(uzlib_encode(uselfuinputuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuencodesuCodec.encodecCs
t||�S(N(uzlib_decode(uselfuinputuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyudecodesuCodec.decodeN(u__name__u
__module__u__qualname__uencodeudecode(u
__locals__((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuCodecsuCodeccBs>|EeZdZddd�Zd	dd�Zdd�ZdS(
uIncrementalEncoderustrictcCs.|dkst�||_tj�|_dS(Nustrict(uAssertionErroruerrorsuzlibucompressobj(uselfuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyu__init__s	uIncrementalEncoder.__init__cCs=|r)|jj|�}||jj�S|jj|�SdS(N(ucompressobjucompressuflush(uselfuinputufinaluc((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuencode!suIncrementalEncoder.encodecCstj�|_dS(N(uzlibucompressobj(uself((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyureset(suIncrementalEncoder.resetNF(u__name__u
__module__u__qualname__u__init__uFalseuencodeureset(u
__locals__((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuIncrementalEncodersuIncrementalEncodercBs>|EeZdZddd�Zd	dd�Zdd�ZdS(
uIncrementalDecoderustrictcCs.|dkst�||_tj�|_dS(Nustrict(uAssertionErroruerrorsuzlibu
decompressobj(uselfuerrors((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyu__init__,s	uIncrementalDecoder.__init__cCs=|r)|jj|�}||jj�S|jj|�SdS(N(u
decompressobju
decompressuflush(uselfuinputufinaluc((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyudecode1suIncrementalDecoder.decodecCstj�|_dS(N(uzlibu
decompressobj(uself((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyureset8suIncrementalDecoder.resetNF(u__name__u
__module__u__qualname__u__init__uFalseudecodeureset(u
__locals__((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuIncrementalDecoder+suIncrementalDecodercBs|EeZdZeZdS(uStreamWriterN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuStreamWriter;suStreamWritercBs|EeZdZeZdS(uStreamReaderN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyuStreamReader>suStreamReadercCs:tjdddtdtdtdtdtdtd	d
�S(Nunameuzlibuencodeudecodeuincrementalencoderuincrementaldecoderustreamreaderustreamwriteru_is_text_encodingF(	ucodecsu	CodecInfouzlib_encodeuzlib_decodeuIncrementalEncoderuIncrementalDecoderuStreamReaderuStreamWriteruFalse(((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyugetregentryCs	ugetregentry(u__doc__ucodecsuzlibuzlib_encodeuzlib_decodeuCodecuIncrementalEncoderuIncrementalDecoderuStreamWriteruStreamReaderugetregentry(((u9/opt/alt/python33/lib64/python3.3/encodings/zlib_codec.pyu<module>s

?>