ok

Mini Shell

Direktori : /opt/alt/python311/lib64/python3.11/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/encodings/__pycache__/hex_codec.cpython-311.opt-1.pyc

�

�f�����dZddlZddlZdd�Zdd�ZGd�dej��ZGd�d	ej��ZGd
�dej��ZGd�d
eej��ZGd�deej	��Z	d�Z
dS)z�Python 'hex_codec' Codec - 2-digit hex content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
�N�strictc�H�tj|��t|��fS�N)�binascii�b2a_hex�len��input�errorss  �:/opt/alt/python311/lib64/python3.11/encodings/hex_codec.py�
hex_encoder

�����U�#�#�S��Z�Z�0�0�c�H�tj|��t|��fSr)r�a2b_hexrr	s  r�
hex_decoderrrc��eZdZdd�Zdd�ZdS)�Codecrc�"�t||��Sr)r
��selfr
rs   r�encodezCodec.encode����%��(�(�(rc�"�t||��Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs<������)�)�)�)�)�)�)�)�)�)rrc��eZdZdd�ZdS)�IncrementalEncoderFc�*�tj|��Sr)rr�rr
�finals   rrzIncrementalEncoder.encode������&�&�&rN�F)rrrrr rrr"r"�(������'�'�'�'�'�'rr"c��eZdZdd�ZdS)�IncrementalDecoderFc�*�tj|��Sr)rrr$s   rrzIncrementalDecoder.decode!r&rNr')rrrrr rrr*r* r(rr*c��eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper rrr-r-%��������N�N�Nrr-c��eZdZeZdS)�StreamReaderNr.r rrr3r3(r1rr3c
�v�tjdtttt
ttd���S)N�hexF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rr"r*r-r3r rr�getregentryr>-s4����
���-�-�!�!��	�	�	�	rr)�__doc__r<rr
rrr"r*r-r3r>r rr�<module>r@sH�����
�
�
�����1�1�1�1�1�1�1�1�)�)�)�)�)�F�L�)�)�)�'�'�'�'�'��2�'�'�'�
'�'�'�'�'��2�'�'�'�
�����5�&�-���������5�&�-����

�
�
�
�
r

Zerion Mini Shell 1.0