ó
è¾bc           @   s˜   d  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-be' 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_be_decodet   True(   t   inputt   errors(    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyt   decode   s    t   IncrementalEncoderc           B   s   e  Z e d  „ Z RS(   c         C   s   t  j | |  j ƒ d S(   Ni    (   R   t   utf_16_be_encodeR   (   t   selfR   t   final(    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyt   encode   s    (   t   __name__t
   __module__t   FalseR   (    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyR      s   t   IncrementalDecoderc           B   s   e  Z e j Z RS(    (   R   R   R   R   t   _buffer_decode(    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyR      s   t   StreamWriterc           B   s   e  Z e j Z RS(    (   R   R   R   R   R   (    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyR      s   t   StreamReaderc           B   s   e  Z e j Z RS(    (   R   R   R   R   R   (    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyR      s   c           C   s4   t  j d d d t d t d t d t d t d t ƒ S(	   Nt   names	   utf-16-beR   R   t   incrementalencodert   incrementaldecodert   streamreadert   streamwriter(   R   t	   CodecInfoR   R   R   R   R   R   (    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyt   getregentry!   s    	(   t   __doc__R   R   R   R   R   t   BufferedIncrementalDecoderR   R   R   R   (    (    (    s)   /usr/lib/python2.7/encodings/utf_16_be.pyt   <module>   s   	