AlkantarClanX12

Your IP : 18.227.52.248


Current Path : /opt/alt/python39/lib64/python3.9/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/encodings/__pycache__/hex_codec.cpython-39.opt-1.pyc

a

R�f��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�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�strictcCst�|�t|�fS�N)�binascii�b2a_hex�len��input�errors�r
�8/opt/alt/python39/lib64/python3.9/encodings/hex_codec.py�
hex_encode
srcCst�|�t|�fSr)r�a2b_hexrrr
r
r�
hex_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�Sr)r��selfrr	r
r
r�encodeszCodec.encodecCs
t||�Sr)rrr
r
r�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCs
t�|�Sr)rr�rr�finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs
t�|�Sr)rr
rr
r
rr!szIncrementalDecoder.decodeN)F)rrrrr
r
r
rr src@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper
r
r
rr%src@seZdZeZdS)�StreamReaderNrr
r
r
rr(src
Cstjdttttttdd�S)N�hexF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrrr
r
r
r�getregentry-s�r))r)r)�__doc__r'rrrrrrrrr)r
r
r
r�<module>s