HEX
Server: Apache
System: Linux hn220.greenhost.nl 6.12.58 #3 SMP Wed Nov 19 09:04:59 UTC 2025 x86_64
User: webmaster (87278)
PHP: 8.4.5
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //.vs/usr/lib/python3.9/encodings/__pycache__/utf_16.cpython-39.pyc
a

kx�gt�@sxdZddlZddlZejZddd�ZGdd�dej�ZGdd	�d	ej�ZGd
d�dej	�Z	Gdd
�d
ej
�Z
dd�ZdS)z� Python 'utf-16' Codec


Written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

�N�strictcCst�||d�S)NT)�codecs�
utf_16_decode)�input�errors�r�&/usr/lib/python3.9/encodings/utf_16.py�decodesr	c@s8eZdZddd�Zddd�Zdd�Zd	d
�Zdd�Zd
S)�IncrementalEncoderrcCstj�||�d|_dS�N)rr
�__init__�encoder��selfrrrrrszIncrementalEncoder.__init__FcCsN|jdur<t�||j�d}tjdkr0tj|_ntj|_|S|�||j�dS)Nr�little)r
r�
utf_16_encoder�sys�	byteorder�utf_16_le_encode�utf_16_be_encode)rr�final�resultrrr�encodes


zIncrementalEncoder.encodecCstj�|�d|_dSr)rr
�resetr
�rrrrr!szIncrementalEncoder.resetcCs|jdurdSdS)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6szIncrementalDecoder.__init__cCsl|jdur\t�||d|�\}}}|dkr2tj|_n"|dkrDtj|_n|dkrTtd��||fS|�||j|�S)Nr����r�%UTF-16 stream does not start with BOM)r&r�utf_16_ex_decode�utf_16_le_decode�utf_16_be_decode�UnicodeErrorr)rrrr�output�consumedrrrr�_buffer_decode:s
�

z!IncrementalDecoder._buffer_decodecCstj�|�d|_dSr)rr%rr&rrrrrGszIncrementalDecoder.resetcCsDtj�|�d}|jdur"|dfSttjdk|jtjuk�}||fS)Nrr�big)rr%rr&�intrrr,)rrZaddstaterrrrKs


�zIncrementalDecoder.getstatecCsdtj�||�|d}|dkr8tjdkr.tjntj|_n(|dkrZtjdkrPtjntj|_nd|_dS)Nr(rr1)rr%r rrr,r+r&rrrrr Ys����zIncrementalDecoder.setstateN)r)r!r"r#rr0rrr rrrrr$5s


r$c@s(eZdZd	dd�Zdd�Zd
dd�ZdS)�StreamWriterrcCstj�|||�d|_dSr)rr3rr
)r�streamrrrrriszStreamWriter.__init__cCstj�|�d|_dSr)rr3rr
rrrrrmszStreamWriter.resetcCsF|jdur6t�||�}tjdkr*tj|_ntj|_|S|�||�SdSr)r
rrrrrr)rrrrrrrrqs


zStreamWriter.encodeN)r)r)r!r"r#rrrrrrrr3hs
r3c@seZdZdd�Zddd�ZdS)�StreamReadercCs,tj�|�z|`Wnty&Yn0dSr)rr5rr	�AttributeErrorrrrrr~s
zStreamReader.resetrcCsRt�||dd�\}}}|dkr(tj|_n"|dkr:tj|_n|dkrJtd��||fS)NrFr'r(rr))rr*r+r	r,r-)rrr�objectr/rrrrr	�s�

zStreamReader.decodeN)r)r!r"r#rr	rrrrr5|sr5c	Cstjdttttttd�S)Nzutf-16)�namerr	�incrementalencoder�incrementaldecoder�streamreader�streamwriter)r�	CodecInforr	r
r$r5r3rrrr�getregentry�s�r>)r)�__doc__rrrrr	r
r%r$r3r5r>rrrr�<module>s
#3