ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/base64.cpython-311.opt-1.pyc |
� �f1R � � � d Z ddlZddlZddlZg d�ZeefZd� Zd6d�Z d7d�Z d� Zd � Ze� d d� � Ze� dd � � Zd� Zd � ZdZdZdZdZdZi ai ad� Zd8d�Zd� Ze� d�� � e_ d8d�Ze� de�� � e_ d� Ze� d�� � e_ d9d�Ze� dd�� � e_ d� Z d9d�Z!da"da#d Z$d!Z%d:d"�Z&ddddd#�d$�Z'ddd%d&�d'�Z(d(Z)da*da+da,d9d)�Z-d*� Z.d+Z/e/d,z d-z Z0d.� Z1d/� Z2d0� Z3d1� Z4d2� Z5d3� Z6d4� Z7e8d5k r e6� � dS dS );zDBase16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings� N)�encode�decode�encodebytes�decodebytes� b64encode� b64decode� b32encode� b32decode�b32hexencode�b32hexdecode� b16encode� b16decode� b85encode� b85decode� a85encode� a85decode�standard_b64encode�standard_b64decode�urlsafe_b64encode�urlsafe_b64decodec �Z � t | t � � r3 | � d� � S # t $ r t d� � �w xY wt | t � � r| S t | � � � � � S # t $ r t d| j j z � � d �w xY w)N�asciiz4string argument should contain only ASCII charactersz>argument should be a bytes-like object or ASCII string, not %r)� isinstance�strr �UnicodeEncodeError� ValueError�bytes_types� memoryview�tobytes� TypeError� __class__�__name__��ss �-/opt/alt/python311/lib64/python3.11/base64.py�_bytes_from_decode_datar&