o
    <iU                     @  s\   d dl mZ d dlmZ zd dlZG dd deZW dS  ey-   G dd deZY dS w )    )annotations)CodecNc                   @  (   e Zd Zed
ddZedddZd	S )
BZip2Codecdatabytesreturntuple[bytes, int]c                 C  s   t | }|t|fS N)bz2compresslen)r   compressed_data r   X/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/pyiceberg/avro/codecs/bzip2.pyr      s   
BZip2Codec.compressc                 C  s
   t | S r
   )r   
decompressr   r   r   r   r      s   
BZip2Codec.decompressNr   r   r   r	   r   r   r   r   __name__
__module____qualname__staticmethodr   r   r   r   r   r   r      s
    r   c                   @  r   )r   r   r   r   r	   c                 C     t dNz@Python bzip2 support not installed, please install the extensionImportErrorr   r   r   r   r   %      r   c                 C  r   r   r   r   r   r   r   r   )   r    r   Nr   r   r   r   r   r   r   r   $   s
    )
__future__r   pyiceberg.avro.codecs.codecr   r   r   r   r   r   r   r   <module>   s   
