HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //proc/93580/root/lib/python3.10/encodings/__pycache__/hex_codec.cpython-310.pyc
o

p̦i��@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�strictcC�|dksJ�t�|�t|�fS�Nr)�binascii�b2a_hex�len��input�errors�r�*/usr/lib/python3.10/encodings/hex_codec.py�
hex_encode
�r
cCrr)r�a2b_hexrrrrr�
hex_decoderrc@s eZdZddd�Zddd�ZdS)�CodecrcC�
t||�S�N)r
��selfr	r
rrr�encode�
zCodec.encodecCrr)rrrrr�decoderzCodec.decodeN�r)�__name__�
__module__�__qualname__rrrrrrrs
rc@�eZdZddd�ZdS)�IncrementalEncoderFcC�|jdksJ�t�|�Sr)r
rr�rr	�finalrrrr�
zIncrementalEncoder.encodeN�F)rrrrrrrrr�rc@r)�IncrementalDecoderFcCrr)r
rrr rrrr!r"zIncrementalDecoder.decodeNr#)rrrrrrrrr% r$r%c@�eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr'%�r'c@r&)�StreamReaderNr(rrrrr,(r+r,c
Cstjdttttttdd�S)N�hexF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrr%r'r,rrrr�getregentry-s�r6r)�__doc__r4rr
rrrr%r'r,r6rrrr�<module>s