Your IP : 3.128.168.176
�
�Q�f� � � � 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 �B � t j | � t | � fS �N)�bz2�compress�len��input�errorss �:/opt/alt/python312/lib64/python3.12/encodings/bz2_codec.py�
bz2_encoder s � ��L�L����U��,�,� c �B � t j | � t | � fS r )r �
decompressr r s r �
bz2_decoder s � ��N�N�5�!�3�u�:�.�.r
c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S r )r ��selfr r
s r �encodezCodec.encode � � ��%��(�(r
c � � t ||� S r )r r s r �decodezCodec.decode r r
N��strict)�__name__�
__module__�__qualname__r r � r
r r r s � �)�)r
r c �"