AlkantarClanX12

Your IP : 3.133.140.88


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.opt-1.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�strictcCst�|�t|�fS�N)�zlib�compress�len��input�errors�r
�9/opt/alt/python39/lib64/python3.9/encodings/zlib_codec.py�zlib_encode
srcCst�|�t|�fSr)r�
decompressrrr
r
r�zlib_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�Sr)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||_t��|_dSr)r	r�compressobj�rr	r
r
r�__init__szIncrementalEncoder.__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||_t��|_dSr)r	r�
decompressobjrr
r
rr,szIncrementalDecoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)r"r
rrr
r
rr1szIncrementalDecoder.decodecCst��|_dSr)rr"rr
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�r0)r)r)�__doc__r.rrrrrr!r#r'r0r
r
r
r�<module>s