%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/PIL/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/PIL/__pycache__/BufrStubImagePlugin.cpython-312.pyc

�

��e8���ddlmZddlmZmZdad�Zd�ZGd�dej�Z	d	�Z
eje	je	e�eje	je
�eje	jd
�y)�)�annotations�)�Image�	ImageFileNc��|ay)z_
    Install application-specific BUFR image handler.

    :param handler: Handler object.
    N��_handler)�handlers �9/usr/lib/python3/dist-packages/PIL/BufrStubImagePlugin.py�register_handlerrs	���H�c�&�|dddk(xs|dddk(S)N�sBUFRsZCZC�)�prefixs r�_acceptr s#���"�1�:�� �9�F�2�A�J�'�$9�9r
c� �eZdZdZdZd�Zd�Zy)�BufrStubImageFile�BUFRc�4�|jj�}t|jjd��s
d}t	|��|jj|�d|_d|_|j�}|r|j|�yy)NrzNot a BUFR file�F)rr)
�fp�tellr�read�SyntaxError�seek�_mode�_size�_load�open)�self�offset�msg�loaders    r�_openzBufrStubImageFile._open(st����������t�w�w�|�|�A��'�#�C��c�"�"������V����
���
��������K�K���r
c��tS)Nr)r!s rrzBufrStubImageFile._load9s���r
N)�__name__�
__module__�__qualname__�format�format_descriptionr%rrr
rrr$s��
�F����"r
rc�x�t�ttd�s
d}t|��tj|||�y)N�savezBUFR save handler not installed)r	�hasattr�OSErrorr-)�imr�filenamer#s    r�_saver2=s0����w�x��8�/���c�l���M�M�"�b�(�#r
z.bufr)�
__future__r�rrr	rr�
StubImageFilerr2�
register_openr*�
register_save�register_extensionrr
r�<module>r9s���#�����:��	�/�/��2$�����%�,�,�.?��I�����%�,�,�e�4�����*�1�1�7�;r

Zerion Mini Shell 1.0