Hacked By AnonymousFox

Current Path : /usr/lib64/python3.8/encodings/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/encodings/__pycache__/zlib_codec.cpython-38.pyc

U

e5d��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS)z�Python 'zlib_codec' Codec - zlib compression 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�zlib�compress�len��input�errors�r�,/usr/lib64/python3.8/encodings/zlib_codec.py�zlib_encode
sr
cCs|dkst�t�|�t|�fSr)rr�
decompressrrrrr�zlib_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@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs |dkst�||_t��|_dSr)rr
r�compressobj�rr
rrr�__init__szIncrementalEncoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)rr�flush�rr	�final�crrrr!szIncrementalEncoder.encodecCst��|_dSr)rr�rrrr�reset(szIncrementalEncoder.resetN)r)F)rrrrrr"rrrrrs

rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalDecoderrcCs |dkst�||_t��|_dSr)rr
r�
decompressobjrrrrr,szIncrementalDecoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)r$rrrrrrr1szIncrementalDecoder.decodecCst��|_dSr)rr$r!rrrr"8szIncrementalDecoder.resetN)r)F)rrrrrr"rrrrr#+s

r#c@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr%;sr%c@seZdZeZdS)�StreamReaderNr&rrrrr)>sr)c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInfor
rrr#r)r%rrrr�getregentryCs�r2)r)r)�__doc__r0rr
rrrr#r%r)r2rrrr�<module>s



Hacked By AnonymousFox1.0, Coded By AnonymousFox