Your IP : 3.135.241.191
�
j f � @ s� d Z d d l Z d d l Z e j Z d d d � Z Gd d � d e j � Z Gd d � d e j � Z Gd
d � d e j � Z Gd d
� d
e j
� Z
d d � Z d S)z
Python 'utf-32' Codec
� N�strictc C s t j | | d � S)NT)�codecs�
utf_32_decode)�input�errors� r �5/opt/alt/python34/lib64/python3.4/encodings/utf_32.py�decode
s r c @ sR e Z d Z d d d � Z d d d � Z d d � Z d d
� Z d d � Z d
S)�IncrementalEncoderr c C s t j j | | � d | _ d S)N)r r
�__init__�encoder)�selfr r r r r s zIncrementalEncoder.__init__Fc C sm | j d k rV t j | | j � d } t j d k rF t j | _ n t j | _ | S| j | | 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 j | � d | _ d S)N)r r
�resetr )r
r r r r s zIncrementalEncoder.resetc C s | j d k r d Sd S)N� r )r )r
r r r �getstate s zIncrementalEncoder.getstatec C s@ | r d | _ n* t j d k r0 t j | _ n t j | _ d S)Nr )r r r r r r )r
�stater r r �setstate'