Hacked By AnonymousFox
�
c��f� � �� � d Z ddlZddlZdd�Zdd�Z G d� dej � � Z G d� d ej � � Z G d
� dej � � Z G d� d
eej � � Z G d� deej � � Z d� Z
dS )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).
� N�strictc �H � t j | � � t | � � fS �N)�bz2�compress�len��input�errorss �:/opt/alt/python311/lib64/python3.11/encodings/bz2_codec.py�
bz2_encoder
s � ��L�����U���,�,� c �H � t j | � � t | � � fS r )r �
decompressr r s r �
bz2_decoder s � ��N�5�!�!�3�u�:�:�.�.r c � � e Zd Zdd�Zdd�ZdS )�Codecr c �"