VcdZddlZddlZddZddZGddejZGdd ejZGd d ejZGd d eejZGddeej Z dZ dS)zPython 'base64_codec' Codec - base64 content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). NstrictcHtj|t|fSN)base64 encodebytesleninputerrorss //usr/lib64/python3.11/encodings/base64_codec.py base64_encoder   u % %s5zz 22cHtj|t|fSr)r decodebytesrr s r base64_decoderrrceZdZddZddZdS)Codecrc"t||Sr)r selfr r s r encodez Codec.encodeUF+++rc"t||Sr)rrs r decodez Codec.decoderrNr)__name__ __module__ __qualname__rrrr rrs<,,,,,,,,,,rrceZdZddZdS)IncrementalEncoderFc*tj|Sr)rrrr finals r rzIncrementalEncoder.encode!%(((rNF)rrrrr rr r"r"())))))rr"ceZdZddZdS)IncrementalDecoderFc*tj|Sr)rrr$s r rzIncrementalDecoder.decode!r&rNr')rrrrr rr r*r* r(rr*ceZdZeZdS) StreamWriterNrrrbytescharbuffertyper rr r-r-%NNNrr-ceZdZeZdS) StreamReaderNr.r rr r3r3(r1rr3c vtjdtttt t tdS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInfor rr"r*r-r3r rr getregentryr=-s4   --!!    rr) __doc__r;rr rrr"r*r-r3r=r rr r?sH 33333333,,,,,FL,,, )))))2))) )))))2))) 5&-5&-     r