HEX
Server: Apache/2.4.62 (Debian)
System: Linux MIA-VPS-VM01781 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User: webmaster (1001)
PHP: 8.2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3.7/encodings/__pycache__/bz2_codec.cpython-37.pyc
B

U��e��@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�strictcCs|dkst�t�|�t|�fS)Nr)�AssertionError�bz2�compress�len)�input�errors�r	�)/usr/lib/python3.7/encodings/bz2_codec.py�
bz2_encodesrcCs|dkst�t�|�t|�fS)Nr)rr�
decompressr)rrr	r	r
�
bz2_decodesr
c@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S)N)r)�selfrrr	r	r
�encodeszCodec.encodecCs
t||�S)N)r
)rrrr	r	r
�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr	r	r	r
rs
rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs |dkst�||_t��|_dS)Nr)rrr�
BZ2Compressor�compressobj)rrr	r	r
�__init__szIncrementalEncoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdS)N)rr�flush)rr�final�cr	r	r
r#szIncrementalEncoder.encodecCst��|_dS)N)rrr)rr	r	r
�reset*szIncrementalEncoder.resetN)r)F)rrrrrrr	r	r	r
rs

rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalDecoderrcCs |dkst�||_t��|_dS)Nr)rrr�BZ2Decompressor�
decompressobj)rrr	r	r
r.szIncrementalDecoder.__init__FcCs&y|j�|�Stk
r dSXdS)N�)rr�EOFError)rrrr	r	r
r3szIncrementalDecoder.decodecCst��|_dS)N)rrr)rr	r	r
r9szIncrementalDecoder.resetN)r)F)rrrrrrr	r	r	r
r-s

rc@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyper	r	r	r
r"<sr"c@seZdZeZdS)�StreamReaderN)rrrr#r$r	r	r	r
r%?sr%c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforr
rrr"r%r	r	r	r
�getregentryDsr.)r)r)�__doc__r,rrr
rrrr"r%r.r	r	r	r
�<module>s