AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python39/lib64/python3.9/encodings/__pycache__/ |
Current File : //proc/self/root/opt/alt/python39/lib64/python3.9/encodings/__pycache__/utf_32.cpython-39.opt-2.pyc |
a R�f � @ st d dl Z d dlZe jZddd�ZG dd� de j�ZG dd� de j�ZG d d � d e j�ZG dd� de j �Z d d� Z dS )� N�strictc C s t �| |d�S )NT)�codecs� utf_32_decode)�input�errors� r �5/opt/alt/python39/lib64/python3.9/encodings/utf_32.py�decode s r c @ s8 e Zd Zddd�Zddd�Zdd� Zd d � Zdd� Zd S )�IncrementalEncoderr c C s t j�| |� d | _d S �N)r r �__init__�encoder��selfr r r r r s zIncrementalEncoder.__init__Fc C sN | j d u r<t�|| j�d }tjdkr0tj| _ ntj| _ |S | � || j�d S )Nr �little)r r � utf_32_encoder �sys� byteorder�utf_32_le_encode�utf_32_be_encode)r r �final�resultr r r �encode s zIncrementalEncoder.encodec C s t j�| � d | _d S r )r r �resetr �r r r r r s zIncrementalEncoder.resetc C s | j d u rdS dS )N� r )r r r r r �getstate s zIncrementalEncoder.getstatec C s, |rd | _ ntjdkr tj| _ ntj| _ d S �Nr )r r r r r r �r �stater r r �setstate'