MINI MINI MANI MO
ó
Eì]c           @   s¤   d  Z  d d l Z d d l Z e j Z d d „ Z d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d	 e j	 f d
 „  ƒ  YZ	 d e j
 f d „  ƒ  YZ
 d
 „  Z d S(   s‚    Python 'utf-16' Codec
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
iÿÿÿÿNt   strictc         C   s   t  j |  | t ƒ S(   N(   t   codecst
   utf_16_decodet   True(   t   inputt   errors(    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyt   decode   s    t   IncrementalEncoderc           B   s;   e  Z d  d „ Z e d „ Z d „  Z d „  Z d „  Z RS(   R    c         C   s    t  j j |  | ƒ d  |  _ d  S(   N(   R   R   t   __init__t   Nonet   encoder(   t   selfR   (    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyR      s    c         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(   Ni    t   little(	   R
   R	   R   t
   utf_16_encodeR   t   syst	   byteordert   utf_16_le_encodet   utf_16_be_encode(   R   R   t   finalt   result(    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyt   encode   s    c         C   s   t  j j |  ƒ d  |  _ d  S(   N(   R   R   t   resetR	   R
   (   R   (    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyR   !   s    c         C   s   |  j  d  k r d Sd S(   Ni   i    (   R
   R	   (   R   (    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyt   getstate%   s    c         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   (   R   t   state(    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyt   setstate,   s
    (   t   __name__t
   __module__R   t   FalseR   R   R   R   (    (    (    s(   /usr/lib64/python2.7/encodings/utf_16.pyR      s
   
		t   IncrementalDecoderc           B   s&