Google

Cyb3r Drag0nz Team Shell

Server : Apache
System : Linux server1.cbinetwhm.bi 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64
User : fenacobu (1017)
PHP Version : 8.1.34
Disable Functions : NONE
Current Directory : /lib64/python2.7/encodings/
Directory Status: Not Writeable | Document Root: Writeable

Upload File







Viewing: //lib64/python2.7/encodings/hex_codec.pyo

�
{fc@s�dZddlZddlZdd�Zdd�Zdejfd��YZdejfd	��YZd
ejfd��YZdeejfd
��YZdeej	fd��YZ	d�Z
dS(s Python 'hex_codec' Codec - 2-digit hex content transfer encoding

    Unlike most of the other codecs which target Unicode, this codec
    will return Python string objects for both encode and decode.

    Written by Marc-Andre Lemburg (mal@lemburg.com).

i����NtstrictcCstj|�}|t|�fS(s Encodes the object input and returns a tuple (output
        object, length consumed).

        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.

    (tbinasciitb2a_hextlen(tinputterrorstoutput((s+/usr/lib64/python2.7/encodings/hex_codec.pyt
hex_encode
scCstj|�}|t|�fS(s� Decodes the object input and returns a tuple (output
        object, length consumed).

        input must be an object which provides the bf_getreadbuf
        buffer slot. Python strings, buffer objects and memory
        mapped files are examples of objects providing this slot.

        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.

    (Rta2b_hexR(RRR((s+/usr/lib64/python2.7/encodings/hex_codec.pyt
hex_decodestCodeccBs eZdd�Zdd�ZRS(RcCs
t||�S(N(R(tselfRR((s+/usr/lib64/python2.7/encodings/hex_codec.pytencode/scCs
t||�S(N(R	(RRR((s+/usr/lib64/python2.7/encodings/hex_codec.pytdecode1s(t__name__t
__module__RR
(((s+/usr/lib64/python2.7/encodings/hex_codec.pyR
-stIncrementalEncodercBseZed�ZRS(cCs
tj|�S(N(RR(RRtfinal((s+/usr/lib64/python2.7/encodings/hex_codec.pyR5s(RRtFalseR(((s+/usr/lib64/python2.7/encodings/hex_codec.pyR4stIncrementalDecodercBseZed�ZRS(cCs
tj|�S(N(RR(RRR((s+/usr/lib64/python2.7/encodings/hex_codec.pyR
:s(RRRR
(((s+/usr/lib64/python2.7/encodings/hex_codec.pyR9stStreamWritercBseZRS((RR(((s+/usr/lib64/python2.7/encodings/hex_codec.pyR>stStreamReadercBseZRS((RR(((s+/usr/lib64/python2.7/encodings/hex_codec.pyRAscCs:tjdddtdtdtdtdtdtd	t�S(
NtnamethexRR
tincrementalencodertincrementaldecodertstreamwritertstreamreadert_is_text_encoding(	tcodecst	CodecInfoRR	RRRRR(((s+/usr/lib64/python2.7/encodings/hex_codec.pytgetregentryFs	(t__doc__RRRR	R
RRRRR(((s+/usr/lib64/python2.7/encodings/hex_codec.pyt<module>s

Cyb3r Drag0nz Team • Google Edition