Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.143.253.165
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : bz2_codec.cpython-310.pyc
o

^b��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS)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).
�N�strictcC�|dksJ�t�|�t|�fS�Nr)�bz2�compress�len��input�errors�r�</usr/local/python-3.10/lib/python3.10/encodings/bz2_codec.py�
bz2_encode�r
cCrr)r�
decompressrrrrr�
bz2_decoderrc@s eZdZddd�Zddd�ZdS)�CodecrcC�
t||�S�N)r
��selfr	r
rrr�encode�
zCodec.encodecCrr)rrrrr�decoderzCodec.decodeN�r)�__name__�
__module__�__qualname__rrrrrrrs
rc@�(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcC� |dksJ�||_t��|_dSr)r
r�
BZ2Compressor�compressobj�rr
rrr�__init__�zIncrementalEncoder.__init__FcCs*|r|j�|�}||j��S|j�|�Sr)r!r�flush)rr	�final�crrrr#szIncrementalEncoder.encodecC�t��|_dSr)rr r!�rrrr�reset*�zIncrementalEncoder.resetNr�F)rrrr#rr*rrrrrs

rc@r)�IncrementalDecoderrcCrr)r
r�BZ2Decompressor�
decompressobjr"rrrr#.r$zIncrementalDecoder.__init__FcCs$z|j�|�WStyYdSw)N�)r/r�EOFError)rr	r&rrrr3s
�zIncrementalDecoder.decodecCr(r)rr.r/r)rrrr*9r+zIncrementalDecoder.resetNrr,)rrrr#rr*rrrrr--s

r-c@�eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr3<�r3c@r2)�StreamReaderNr4rrrrr8?r7r8c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrr-r3r8rrrr�getregentryDs�rAr)�__doc__r?rr
rrrr-r3r8rArrrr�<module>s	


© 2025 GrazzMean