Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
opt
/
alt
/
python312
/
lib64
/
python3.12
/
encodings
/
__pycache__
[ HOME ]
Exec
Submit
File Name : bz2_codec.cpython-312.pyc
� B�?t�ʾ�� � � d Z ddlZddlZdd�Zdd�Z G d� dej � Z G d� dej � Z G d � d ej � Z G d� deej � Z G d � deej � Z d� Z y)a Python '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 �t j | � t | � fS �N�strict)�bz2�compress�len��input�errorss �:/opt/alt/python312/lib64/python3.12/encodings/bz2_codec.py� bz2_encoder s( � ��X�����L�L����U��,�,� c �P � |dk( sJ �t j | � t | � fS r )r � decompressr r s r � bz2_decoder s( � ��X�����N�N�5�!�3�u�:�.�.r c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S �N)r ��selfr r s r �encodezCodec.encode � � ��%��(�(r c � � t ||� S r )r r s r �decodezCodec.decode r r N�r )�__name__� __module__�__qualname__r r � r r r r s � �)�)r r c �"