U e5d@sddlZddlZdddZdddZGdddejZGd d d ejZGd d d ejZGd ddeejZGdddeejZddZ dS)NstrictcCst|t|fSN)base64 encodebytesleninputerrorsr ./usr/lib64/python3.8/encodings/base64_codec.py base64_encode sr cCst|t|fSr)r decodebytesrrr r r base64_decodesrc@s eZdZdddZdddZdS) CodecrcCs t||Sr)r selfrr r r r encodesz Codec.encodecCs t||Sr)rrr r r decodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r r rs rc@seZdZdddZdS)IncrementalEncoderFcCs t|Sr)rrrrfinalr r r rszIncrementalEncoder.encodeN)F)rrrrr r r r rsrc@seZdZdddZdS)IncrementalDecoderFcCs t|Sr)rr rr r r r!szIncrementalDecoder.decodeN)F)rrrrr r r r r src@seZdZeZdS) StreamWriterNrrrbytescharbuffertyper r r r r%src@seZdZeZdS) StreamReaderNrr r r r r(src CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoder streamwriter streamreader_is_text_encoding)codecs CodecInfor rrrrrr r r r getregentry-sr()r)r) r&rr rrrrrrr(r r r r s