AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/utf_32.cpython-35.opt-2.pyc |
���] � @ s� 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)� N�strictc C s t j | | d � S)NT)�codecs� utf_32_decode)�input�errors� r �+/opt/alt/python35/lib64/python3.5/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'