• File: base64_codec.cpython-37.opt-1.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/encodings/__pycache__/base64_codec.cpython-37.opt-1.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 2.25 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

Nj@sdZddlZddlZdddZdddZGdd	d	ejZGd
ddejZGdd
d
ejZGdddeejZGdddeej	Z	ddZ
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).
NstrictcCst|t|fS)N)base64encodebyteslen)inputerrorsr;/opt/alt/python37/lib64/python3.7/encodings/base64_codec.py
base64_encode
sr
cCst|t|fS)N)rdecodebytesr)rrrrr	
base64_decodesrc@s eZdZdddZdddZdS)	CodecrcCs
t||S)N)r
)selfrrrrr	encodeszCodec.encodecCs
t||S)N)r)rrrrrr	decodeszCodec.decodeN)r)r)__name__
__module____qualname__rrrrrr	r
s
r
c@seZdZdddZdS)IncrementalEncoderFcCs
t|S)N)rr)rrfinalrrr	rszIncrementalEncoder.encodeN)F)rrrrrrrr	rsrc@seZdZdddZdS)IncrementalDecoderFcCs
t|S)N)rr)rrrrrr	r!szIncrementalDecoder.decodeN)F)rrrrrrrr	r src@seZdZeZdS)StreamWriterN)rrrbytescharbuffertyperrrr	r%src@seZdZeZdS)StreamReaderN)rrrrrrrrr	r(src
CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoderstreamwriterstreamreader_is_text_encoding)codecs	CodecInfor
rrrrrrrrr	getregentry-sr#)r)r)__doc__r!rr
rr
rrrrr#rrrr	<module>s