%PDF- %PDF-
Direktori : /usr/lib/python3.12/encodings/__pycache__/ |
Current File : //usr/lib/python3.12/encodings/__pycache__/bz2_codec.cpython-312.pyc |
� ���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 �P � |dk( sJ �t j | � t | � fS �N�strict)�bz2�compress�len��input�errorss �*/usr/lib/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 �"