AlkantarClanX12

Your IP : 18.118.137.96


Current Path : /usr/lib64/python3.8/encodings/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/encodings/__pycache__/utf_32.cpython-38.opt-2.pyc

U

e5d	�@stddlZddlZejZddd�ZGdd�dej�ZGdd�dej�ZGd	d
�d
ej�ZGdd�dej	�Z	d
d�Z
dS)�N�strictcCst�||d�S)NT)�codecs�
utf_32_decode)�input�errors�r�(/usr/lib64/python3.8/encodings/utf_32.py�decode
sr	c@s8eZdZddd�Zddd�Zdd�Zd	d
�Zdd�Zd
S)�IncrementalEncoderrcCstj�||�d|_dS�N)rr
�__init__�encoder��selfrrrrrszIncrementalEncoder.__init__FcCsN|jdkr<t�||j�d}tjdkr0tj|_ntj|_|S|�||j�dS)Nr�little)r
r�
utf_32_encoder�sys�	byteorder�utf_32_le_encode�utf_32_be_encode)rr�final�resultrrr�encodes


zIncrementalEncoder.encodecCstj�|�d|_dSr)rr
�resetr
�rrrrrszIncrementalEncoder.resetcCs|jdkrdSdS)N�r)r
rrrr�getstate szIncrementalEncoder.getstatecCs,|rd|_ntjdkr tj|_ntj|_dS�Nr)r
rrrrr�r�staterrr�setstate's


zIncrementalEncoder.setstateN)r)F)�__name__�
__module__�__qualname__rrrrr rrrrr

s



r
c@s6eZdZd
dd�Zdd�Zdd�Zdd	�Zd
d�ZdS)�IncrementalDecoderrcCstj�||�d|_dSr)r�BufferedIncrementalDecoderr�decoderrrrrr1szIncrementalDecoder.__init__cCsl|jdkr\t�||d|�\}}}|dkr2tj|_n"|dkrDtj|_n|dkrTtd��||fS|�||j|�S)Nr������%UTF-32 stream does not start with BOM)r&r�utf_32_ex_decode�utf_32_le_decode�utf_32_be_decode�UnicodeErrorr)rrrr�output�consumedrrrr�_buffer_decode5s
�

z!IncrementalDecoder._buffer_decodecCstj�|�d|_dSr)rr%rr&rrrrrBszIncrementalDecoder.resetcCsDtj�|�d}|jdkr"|dfSttjdk|jtjkk�}||fS)Nrr�big)rr%rr&�intrrr-)rrZaddstaterrrrFs


�zIncrementalDecoder.getstatecCsdtj�||�|d}|dkr8tjdkr.tjntj|_n(|dkrZtjdkrPtjntj|_nd|_dS)Nr(rr2)rr%r rrr-r,r&rrrrr Ts����zIncrementalDecoder.setstateN)r)r!r"r#rr1rrr rrrrr$0s


r$c@s(eZdZd	dd�Zdd�Zd
dd�ZdS)�StreamWriterrcCsd|_tj�|||�dSr)r
rr4r)r�streamrrrrrdszStreamWriter.__init__cCstj�|�d|_dSr)rr4rr
rrrrrhszStreamWriter.resetcCsF|jdkr6t�||�}tjdkr*tj|_ntj|_|S|�||�SdSr)r
rrrrrr)rrrrrrrrls


zStreamWriter.encodeN)r)r)r!r"r#rrrrrrrr4cs
r4c@seZdZdd�Zddd�ZdS)�StreamReadercCs.tj�|�z|`Wntk
r(YnXdSr)rr6rr	�AttributeErrorrrrrrys
zStreamReader.resetrcCsRt�||dd�\}}}|dkr(tj|_n"|dkr:tj|_n|dkrJtd��||fS)NrFr'r(r)r*)rr+r,r	r-r.)rrr�objectr0rrrrr	�s�

zStreamReader.decodeN)r)r!r"r#rr	rrrrr6wsr6c	Cstjdttttttd�S)Nzutf-32)�namerr	�incrementalencoder�incrementaldecoder�streamreader�streamwriter)r�	CodecInforr	r
r$r6r4rrrr�getregentry�s�r?)r)rrrrr	r
r%r$r4r6r?rrrr�<module>s
#3