MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/task/2/root/usr/lib64/python2.4/encodings/hex_codec.pyc
mņ
‚=5Dc@sŽdZdkZdkZdd„Zdd„Zdeifd„ƒYZdeeifd„ƒYZd	eeifd
„ƒYZd„ZdS(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).

NtstrictcCs3|djpt‚ti|ƒ}|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.

    RN(terrorstAssertionErrortbinasciitb2a_hextinputtoutputtlen(RRR((t+/usr/lib64/python2.4/encodings/hex_codec.pyt
hex_encode
s	cCs3|djpt‚ti|ƒ}|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.

    RN(RRRta2b_hexRRR(RRR((Rt
hex_decodes
tCodeccBs tZdd„Zdd„ZRS(NRcCs
t||ƒS(N(R	RR(tselfRR((Rtencode/scCs
t||ƒS(N(RRR(R
RR((Rtdecode1s(t__name__t
__module__RR(((RR-stStreamWritercBstZRS(N(RR(((RR4stStreamReadercBstZRS(N(RR(((RR7scCsttttfS(N(R	RRR(((Rtgetregentry<s(	t__doc__tcodecsRR	RRRRR(RRRR	RRRR((Rt?s