AlkantarClanX12

Your IP : 3.149.243.86


Current Path : /opt/alt/python311/lib64/python3.11/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/encodings/__pycache__/zlib_codec.cpython-311.opt-1.pyc

�

c��f�����dZddlZddlZdd�Zdd�ZGd�dej��ZGd�d	ej��ZGd
�dej��ZGd�d
eej��ZGd�deej	��Z	d�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�strictc�H�tj|��t|��fS�N)�zlib�compress�len��input�errorss  �;/opt/alt/python311/lib64/python3.11/encodings/zlib_codec.py�zlib_encoder

s���M�%� � �#�e�*�*�-�-�c�H�tj|��t|��fSr)r�
decompressrr	s  r�zlib_decoders���O�E�"�"�C��J�J�/�/rc��eZdZdd�Zdd�ZdS)�Codecrc�"�t||��Sr)r
��selfr
rs   r�encodezCodec.encode����5�&�)�)�)rc�"�t||��Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs<������*�*�*�*�*�*�*�*�*�*rrc�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalEncoderrc�D�||_tj��|_dSr)rr�compressobj�rrs  r�__init__zIncrementalEncoder.__init__s ������+�-�-����rFc��|r6|j�|��}||j���zS|j�|��Sr)r#r�flush�rr
�final�cs    rrzIncrementalEncoder.encode!sQ���	4�� �)�)�%�0�0�A��t�'�-�-�/�/�/�/��#�,�,�U�3�3�3rc�6�tj��|_dSr)rr#�rs r�resetzIncrementalEncoder.reset(s���+�-�-����rNr�F)rrrr%rr-rrrr!r!sK������.�.�.�.�
4�4�4�4�.�.�.�.�.rr!c�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalDecoderrc�D�||_tj��|_dSr)rr�
decompressobjr$s  rr%zIncrementalDecoder.__init__,s �����!�/�1�1����rFc��|r6|j�|��}||j���zS|j�|��Sr)r2rr'r(s    rrzIncrementalDecoder.decode1sQ���	8��"�-�-�e�4�4�A��t�)�/�/�1�1�1�1��%�0�0��7�7�7rc�6�tj��|_dSr)rr2r,s rr-zIncrementalDecoder.reset8s��!�/�1�1����rNrr.)rrrr%rr-rrrr0r0+sK������2�2�2�2�
8�8�8�8�2�2�2�2�2rr0c��eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrr6r6;��������N�N�Nrr6c��eZdZeZdS)�StreamReaderNr7rrrr<r<>r:rr<c
�v�tjdtttt
ttd���S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInfor
rr!r0r<r6rrr�getregentryrFCs4����
���-�-�!�!��	�	�	�	rr)�__doc__rDrr
rrr!r0r6r<rFrrr�<module>rHsH�����
�
�
�����.�.�.�.�0�0�0�0�*�*�*�*�*�F�L�*�*�*�.�.�.�.�.��2�.�.�.� 2�2�2�2�2��2�2�2�2� �����5�&�-���������5�&�-����

�
�
�
�
r