Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : hex_codec.cpython-39.pyc
a

?�g��@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 ([email protected]).
�N�strictcCs|dksJ�t�|�t|�fS�Nr)�binascii�b2a_hex�len��input�errors�r
�8/opt/alt/python39/lib64/python3.9/encodings/hex_codec.py�
hex_encode
srcCs|dksJ�t�|�t|�fSr)r�a2b_hexrrr
r
r�
hex_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)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|jdksJ�t�|�Sr)r	rr�rr�finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCs|jdksJ�t�|�Sr)r	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 (sr c
Cstjdttttttdd�S)N�hexF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrr r
r
r
r�getregentry-s�r*)r)r)�__doc__r(rrrrrrrr r*r
r
r
r�<module>s


© 2025 XylotrechusZ