AlkantarClanX12
Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/ |
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/base64_codec.cpython-312.pyc |
� �Q�f� � � � d Z ddlZddlZdd�Zdd�Z G d� dej � Z G d� dej � Z G d � d ej � Z G d� deej � Z G d � deej � Z d� Z y)z�Python 'base64_codec' Codec - base64 content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). � Nc �P � |dk( sJ �t j | � t | � fS �N�strict)�base64�encodebytes�len��input�errorss �=/opt/alt/python312/lib64/python3.12/encodings/base64_codec.py� base64_encoder �* � ��X�������u�%�s�5�z�2�2� c �P � |dk( sJ �t j | � t | � fS r )r �decodebytesr r s r � base64_decoder r r c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S �N)r ��selfr r s r �encodezCodec.encode � � ��U�F�+�+r c � � t ||� S r )r r s r �decodezCodec.decode r r N�r )�__name__� __module__�__qualname__r r � r r r r s � �,�,r r c � � e Zd Zdd�Zy)�IncrementalEncoderc �N � | j dk( sJ �t j |� S r )r r r �r r �finals r r zIncrementalEncoder.encode �% � ��{�{�h�&�&�&��!�!�%�(�(r N�F)r r r r r! r r r# r# � � �)r r# c � � e Zd Zdd�Zy)�IncrementalDecoderc �N � | j dk( sJ �t j |� S r )r r r r% s r r zIncrementalDecoder.decode! r'