MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/encodings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/encodings/base64_codec.pyc
mņ
Š=Ec@sŽdZdkZdkZdd„Zdd„Zdeifd„ƒYZdeeifd„ƒYZd	eeifd
„ƒYZd„ZdS(s’ Python 'base64_codec' Codec - base64 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(terrorstAssertionErrortbase64tencodestringtinputtoutputtlen(RRR((t,/usr/lib/python2.4/encodings/base64_codec.pyt
base64_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(RRRtdecodestringRRR(RRR((Rt
base64_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RRRR	R((Rt?s

Anon7 - 2021