Edit File: uu_codec.cpython-311.opt-1.pyc
� �����f#����������������������������d�Z�ddlZddlZddlmZ�dd�Zdd�Z�G�d ��d ej��������������������Z�G�d��dej��������������������Z�G�d ��dej ��������������������Z �G�d��deej ��������������������Z �G�d��deej��������������������Zd��ZdS�)a��Python 'uu_codec' Codec - UU content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were adapted from uu.py which was written by Lance Ellinghouse and modified by Jack Jansen and Fredrik Lundh. �����N)�BytesIO�strict�<data>���c�����������������������t����������|�������������}t������������������������}|j��������}|j��������}|���������������������dd������������}|���������������������dd������������}�|d|dz��|fz�����������������������d��������������������������|d������������}|r*�|t����������j��������|��������������������������|d������������}|�*�|d �������������|�����������������������������������t����������|�������������fS�) N� z\n� z\rzbegin %o %s i����ascii�-���s��� end ) r����read�write�replace�encode�binascii�b2a_uu�getvalue�len) �input�errors�filename�mode�infile�outfiler���r ����chunks ��� �9/opt/alt/python311/lib64/python3.11/encodings/uu_codec.py� uu_encoder������s������� �U�^�^�F��i�i�G��;�D��M�E������U�+�+�H�����U�+�+�H�� �E�?�d�U�l�H�5�5� =� =�g� F� F�G�G�G��D��H�H�E� ��� ��h�o�e�$�$�%�%�%���R��������� �E�+����������E� � �+�+�����c������������������"����t����������|�������������}t������������������������}|j��������}|j��������} ��|��������������}|st����������d�������������|d�d����������dk����rn�+ ��|��������������}|r|dk����rnq �t ����������j��������|������������}nO#�t����������j��������$�r=}|d���������dz ��d z��d z��dz���dz��} t ����������j��������|d�| ����������������������}Y�d�}~nd�}~ww�xY�w�||���������������|st����������d�������������|�����������������������������������t����������|�������������fS�) N����z"Missing "begin" line in input data����s���beginTs���end r���� ����?�����������zTruncated input data) r����readliner ���� ValueErrorr����a2b_uu�Errorr���r���) r���r���r���r���r%���r ����s�data�v�nbytess ��� r���� uu_decoder-���%���sL����� �U�^�^�F��i�i�G���H��M�E���H�J�J���� C��A�B�B�B��R�a�R�5�H�������H�J�J���� �A��M�M�� /��?�1�%�%�D�D���~�� /�� /�� /��!��R��2�~��*�Q�.�1�4�F��?�1�W�f�W�:�.�.�D�D�D�D�D�D����� /���� � ��d������ ��1��/�0�0�0�������E� � �+�+s����-B��C�3C � Cc�������������������������e�Zd�Zdd�Zdd�ZdS�)�Codecr���c������������������"�����t����������||������������S��N)r�����selfr���r���s��� r���r���zCodec.encodeG�������������'�'�'r���c������������������"�����t����������||������������S�r1���)r-���r2���s��� r����decodezCodec.decodeJ���r4���r���N�r���)�__name__� __module__�__qualname__r���r6�����r���r���r/���r/���F���s<��������������(��(��(��(�(��(��(��(��(��(r���r/���c�������������������������e�Zd�Zdd�ZdS�)�IncrementalEncoderFc������������������8�����t����������||�j��������������������d���������S��Nr���)r���r����r3���r����finals��� r���r���zIncrementalEncoder.encodeN��������������,�,�Q�/�/r���N�F)r8���r9���r:���r���r;���r���r���r=���r=���M����(��������������0��0��0��0��0��0r���r=���c�������������������������e�Zd�Zdd�ZdS�)�IncrementalDecoderFc������������������8�����t����������||�j��������������������d���������S�r?���)r-���r���r@���s��� r���r6���zIncrementalDecoder.decodeR���rB���r���NrC���)r8���r9���r:���r6���r;���r���r���rF���rF���Q���rD���r���rF���c�������������������������e�Zd�ZeZdS�)�StreamWriterN�r8���r9���r:����bytes�charbuffertyper;���r���r���rI���rI���U�������������������N�N�Nr���rI���c�������������������������e�Zd�ZeZdS�)�StreamReaderNrJ���r;���r���r���rO���rO���X���rM���r���rO���c������������ �������v�����t����������j��������dt����������t����������t����������t ����������t����������t����������d�������������S�)N�uuF)�namer���r6����incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs� CodecInfor���r-���r=���rF���rO���rI���r;���r���r����getregentryrZ���]���s4�������� ���-�-�!�!�� �� �� �� r���)r���r���r���r7���) �__doc__rX���r����ior���r���r-���r/���r=���rF���rI���rO���rZ���r;���r���r����<module>r]������s[��������� � � ������������������,��,��,��,�*,��,��,��,�B(��(��(��(��(�F�L��(��(��(�0��0��0��0��0��2��0��0��0�0��0��0��0��0��2��0��0��0����������5�&�-����������������5�&�-������� �� �� �� �� r���