Sindbad~EG File Manager
�
%Μg����dZddlZddlZdd�Zdd�ZGd�dej
�ZGd�dej�ZGd �d
ej�ZGd�deej�ZGd
�deej�Z d�Z
y)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).
�Nc�B�tj|�t|�fS�N)�binascii�b2a_hex�len��input�errorss �0/usr/local/lib/python3.12/encodings/hex_codec.py�
hex_encoder
������U�#�S��Z�0�0�c�B�tj|�t|�fSr)r�a2b_hexrrs r�
hex_decoderr
rc��eZdZdd�Zdd�Zy)�Codecc��t||�Sr)r��selfr r
s r�encodezCodec.encode����%��(�(rc��t||�Sr)rrs r�decodezCodec.decoderrN��strict)�__name__�
__module__�__qualname__rr�rrrrs��)�)rrc��eZdZdd�Zy)�IncrementalEncoderc�,�tj|�Sr)rr�rr �finals rrzIncrementalEncoder.encode�������&�&rN�F)rrrrr rrr"r"���'rr"c��eZdZdd�Zy)�IncrementalDecoderc�,�tj|�Sr)rrr$s rrzIncrementalDecoder.decode!r&rNr')rrrrr rrr*r* r(rr*c��eZdZeZy)�StreamWriterN�rrr�bytes�charbuffertyper rrr-r-%����Nrr-c��eZdZeZy)�StreamReaderNr.r rrr3r3(r1rr3c
�l�tjdtttt
ttd��S)N�hexF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs� CodecInforrr"r*r-r3r rr�getregentryr>-s-�����
���-�-�!�!�� � rr)�__doc__r<rrrrr"r*r-r3r>r rr�<module>r@s}�����1�1�)�F�L�L�)�'��2�2�'�
'��2�2�'�
�5�&�-�-���5�&�-�-��
r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists