ACC SHELL

Path : /usr/lib/python/encodings/
File Upload :
Current File : //usr/lib/python/encodings/base64_codec.pyc

Ñò
qÄMc@sÆdZddkZddkZdd„Zdd„Zdeifd„ƒYZdeifd	„ƒYZd
eifd„ƒYZdeeifd
„ƒYZdeei	fd„ƒYZ	d„Z
dS(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).

iÿÿÿÿ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.

    R(tAssertionErrortbase64tencodestringtlen(tinputterrorstoutput((s,/usr/lib/python2.6/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.

    R(RRtdecodestringR(RRR((s,/usr/lib/python2.6/encodings/base64_codec.pyt
base64_decodestCodeccBs eZdd„Zdd„ZRS(RcCs
t||ƒS(N(R(tselfRR((s,/usr/lib/python2.6/encodings/base64_codec.pytencode/scCs
t||ƒS(N(R
(RRR((s,/usr/lib/python2.6/encodings/base64_codec.pytdecode1s(t__name__t
__module__R
R(((s,/usr/lib/python2.6/encodings/base64_codec.pyR-stIncrementalEncodercBseZed„ZRS(cCs$|idjpt‚ti|ƒS(NR(RRRR(RRtfinal((s,/usr/lib/python2.6/encodings/base64_codec.pyR
5s(RRtFalseR
(((s,/usr/lib/python2.6/encodings/base64_codec.pyR4stIncrementalDecodercBseZed„ZRS(cCs$|idjpt‚ti|ƒS(NR(RRRR	(RRR((s,/usr/lib/python2.6/encodings/base64_codec.pyR:s(RRRR(((s,/usr/lib/python2.6/encodings/base64_codec.pyR9stStreamWritercBseZRS((RR(((s,/usr/lib/python2.6/encodings/base64_codec.pyR>stStreamReadercBseZRS((RR(((s,/usr/lib/python2.6/encodings/base64_codec.pyRAscCs4tidddtdtdtdtdtdtƒS(	NtnameRR
Rtincrementalencodertincrementaldecodertstreamwritertstreamreader(tcodecst	CodecInfoRR
RRRR(((s,/usr/lib/python2.6/encodings/base64_codec.pytgetregentryFs	(t__doc__RRRR
RRRRRR(((s,/usr/lib/python2.6/encodings/base64_codec.pyt<module>s

ACC SHELL 2018