
    d                         d Z ddlZddlZddZddZ G d dej                  Z G d d	ej                  Z G d
 dej                  Z G d deej                  Z G d deej	                  Z	d Z
dS )zPython 'base64_codec' Codec - base64 content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
    Nstrictc                 X    |dk    sJ t          j        |           t          |           fS Nr   )base64encodebytesleninputerrorss     (  /croot/python-split_1694437901252/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/encodings/base64_codec.pybase64_encoder      /    Xu%%s5zz22    c                 X    |dk    sJ t          j        |           t          |           fS r   )r   decodebytesr   r	   s     r   base64_decoder      r   r   c                       e Zd ZddZddZdS )Codecr   c                 "    t          ||          S N)r   selfr
   r   s      r   encodezCodec.encode       UF+++r   c                 "    t          ||          S r   )r   r   s      r   decodezCodec.decode   r   r   Nr   )__name__
__module____qualname__r   r    r   r   r   r      s<        , , , ,, , , , , ,r   r   c                       e Zd ZddZdS )IncrementalEncoderFc                 D    | j         dk    sJ t          j        |          S r   )r   r   r   r   r
   finals      r   r   zIncrementalEncoder.encode   &    {h&&&&!%(((r   NF)r   r   r    r   r!   r   r   r#   r#      (        ) ) ) ) ) )r   r#   c                       e Zd ZddZdS )IncrementalDecoderFc                 D    | j         dk    sJ t          j        |          S r   )r   r   r   r%   s      r   r   zIncrementalDecoder.decode!   r'   r   Nr(   )r   r   r    r   r!   r   r   r+   r+       r)   r   r+   c                       e Zd ZeZdS )StreamWriterNr   r   r    bytescharbuffertyper!   r   r   r.   r.   %           NNNr   r.   c                       e Zd ZeZdS )StreamReaderNr/   r!   r   r   r4   r4   (   r2   r   r4   c            
      v    t          j        dt          t          t          t
          t          t          d          S )Nr   F)namer   r   incrementalencoderincrementaldecoderstreamwriterstreamreader_is_text_encoding)codecs	CodecInfor   r   r#   r+   r.   r4   r!   r   r   getregentryr>   -   s4    --!!	 	 	 	r   r   )__doc__r<   r   r   r   r   r#   r+   r.   r4   r>   r!   r   r   <module>r@      sH     3 3 3 33 3 3 3, , , , ,FL , , ,) ) ) ) )2 ) ) )
) ) ) ) )2 ) ) )
    5&-       5&-   

 
 
 
 
r   