Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
TarIO.cpython-313.pyc10 linesDownload Raw Back to __pycache__
1�

2v�j���T�SSKJr SSKrSSKJr "SS\R\5rg)�)�annotationsN�)�ContainerIOc�0^�\rSrSrSrSU4SjjrSrU=r$)�TarIO�zHA file object that provides read access to a given member of a TAR file.c�z>�[US5UlURRS5n[U5S:wa'URR	5 Sn[U5eUSSR
S5nURS5nUS:Xa'URR	5 S	n[U5eUS:�aUSUn[US3SS5nX%:XaO2URRUS
-S-[R5 M�[TU]5URURR5U5 g)zZ4Create file object.5 6:param tarfile: Name of TAR file.7:param file: Name of member file.8�rbizunexpected end of tar fileN�dzutf-8�rzcannot find subfile�|��i�i���)�open�fh�read�len�close�OSError�decode�find�int�seek�io�SEEK_CUR�super�__init__�tell)	�self�tarfile�file�s�msg�name�i�size�	__class__s	        ��OD:\code\apps\devtools\python\user_packages\Python313\site-packages\PIL/TarIO.pyr�TarIO.__init__s����w��%���������S�!�A��1�v��}����
�
��2���c�l�"��T�c�7�>�>�'�*�D��	�	�$��A��A�v����
�
��+���c�l�"��1�u��B�Q�x���q��S�z�1�%�D��|���G�G�L�L�$��*��.����<�/�4	������$�'�'�,�,�.�$�7�)r)r �strr!r+�return�None)�__name__�9__module__�__qualname__�__firstlineno__�__doc__r�__static_attributes__�
__classcell__)r's@r(rrs���R�#8�#8r*r)�10__future__rr�r�bytesr�r*r(�<module>r9s'�� #�	��&8�K�#�#�E�*�&8r*
codekingpro/portable-devtools · Team Ai