AlkantarClanX12

Your IP : 3.136.23.132


Current Path : /opt/alt/python39/lib64/python3.9/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/encodings/__pycache__/zlib_codec.cpython-39.pyc

a

R�f��@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J�t�|�t|�fS�Nr)�zlib�compress�len��input�errors�r
�9/opt/alt/python39/lib64/python3.9/encodings/zlib_codec.py�zlib_encode
srcCs|dksJ�t�|�t|�fSr)r�
decompressrrr
r
r�zlib_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r��selfrr	r
r
r�encodeszCodec.encodecCs
t||�Sr)rrr
r
r�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs |dksJ�||_t��|_dSr)r	r�compressobj�rr	r
r
r�__init__szIncrementalEncoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)rr�flush�rr�final�cr
r
rr!szIncrementalEncoder.encodecCst��|_dSr)rr�rr
r
r�reset(szIncrementalEncoder.resetN)r)F)rrrrrr!r
r
r
rrs

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

r"c@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper
r
r
rr$;sr$c@seZdZeZdS)�StreamReaderNr%r
r
r
rr(>sr(c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInforrrr"r(r$r
r
r
r�getregentryCs�r1)r)r)�__doc__r/rrrrrr"r$r(r1r
r
r
r�<module>s