%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/encodings/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/encodings/utf_16.pyc

ó
Oêáac@s¤dZddlZddlZejZdd„Zdejfd„ƒYZdejfd„ƒYZd	ej	fd
„ƒYZ	dej
fd„ƒYZ
d
„ZdS(s‚ Python 'utf-16' Codec


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

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

iÿÿÿÿNtstrictcCstj||tƒS(N(tcodecst
utf_16_decodetTrue(tinputterrors((s,/usr/local/lib/python2.7/encodings/utf_16.pytdecodestIncrementalEncodercBs;eZdd„Zed„Zd„Zd„Zd„ZRS(RcCs tjj||ƒd|_dS(N(RRt__init__tNonetencoder(tselfR((s,/usr/local/lib/python2.7/encodings/utf_16.pyRscCsm|jdkrVtj||jƒd}tjdkrFtj|_ntj|_|S|j||jƒdS(Nitlittle(	R
R	Rt
utf_16_encodeRtsyst	byteordertutf_16_le_encodetutf_16_be_encode(RRtfinaltresult((s,/usr/local/lib/python2.7/encodings/utf_16.pytencodescCstjj|ƒd|_dS(N(RRtresetR	R
(R((s,/usr/local/lib/python2.7/encodings/utf_16.pyR!scCs|jdkrdSdS(Nii(R
R	(R((s,/usr/local/lib/python2.7/encodings/utf_16.pytgetstate%scCs@|rd|_n*tjdkr0tj|_ntj|_dS(NR(R	R
RRRRR(Rtstate((s,/usr/local/lib/python2.7/encodings/utf_16.pytsetstate,s
(t__name__t
__module__RtFalseRRRR(((s,/usr/local/lib/python2.7/encodings/utf_16.pyRs

		tIncrementalDecodercBs&eZdd„Zd„Zd„ZRS(RcCs tjj||ƒd|_dS(N(RtBufferedIncrementalDecoderRR	tdecoder(RR((s,/usr/local/lib/python2.7/encodings/utf_16.pyR6scCs¡|jdkr‹tj||d|ƒ\}}}|dkrKtj|_n6|dkrftj|_n|dkrtdƒ‚n||fS|j||j|ƒS(Niiÿÿÿÿiis%UTF-16 stream does not start with BOM(RR	Rtutf_16_ex_decodetutf_16_le_decodetutf_16_be_decodetUnicodeErrorR(RRRRtoutputtconsumedR((s,/usr/local/lib/python2.7/encodings/utf_16.pyt_buffer_decode:s!
cCstjj|ƒd|_dS(N(RRRR	R(R((s,/usr/local/lib/python2.7/encodings/utf_16.pyRGs(RRRR%R(((s,/usr/local/lib/python2.7/encodings/utf_16.pyR5s	
tStreamWritercBs)eZdd„Zd„Zdd„ZRS(RcCs#tjj|||ƒd|_dS(N(RR&RR	R
(RtstreamR((s,/usr/local/lib/python2.7/encodings/utf_16.pyRLscCstjj|ƒd|_dS(N(RR&RR	R
(R((s,/usr/local/lib/python2.7/encodings/utf_16.pyRPscCsc|jdkrOtj||ƒ}tjdkr?tj|_ntj|_|S|j||ƒSdS(NR(R
R	RR
RRRR(RRRR((s,/usr/local/lib/python2.7/encodings/utf_16.pyRTs(RRRRR(((s,/usr/local/lib/python2.7/encodings/utf_16.pyR&Ks	tStreamReadercBseZd„Zdd„ZRS(cCs2tjj|ƒy
|`Wntk
r-nXdS(N(RR(RRtAttributeError(R((s,/usr/local/lib/python2.7/encodings/utf_16.pyRas


RcCsytj||dtƒ\}}}|dkr<tj|_n3|dkrWtj|_n|dkrotd‚n||fS(Niiÿÿÿÿiis%UTF-16 stream does not start with BOM(RRRR RR!R"(RRRtobjectR$R((s,/usr/local/lib/python2.7/encodings/utf_16.pyRhs!(RRRR(((s,/usr/local/lib/python2.7/encodings/utf_16.pyR(_s	cCs4tjdddtdtdtdtdtdtƒS(	Ntnamesutf-16RRtincrementalencodertincrementaldecodertstreamreadertstreamwriter(Rt	CodecInfoRRRRR(R&(((s,/usr/local/lib/python2.7/encodings/utf_16.pytgetregentryus	(t__doc__RRR
RRRRRR&R(R1(((s,/usr/local/lib/python2.7/encodings/utf_16.pyt<module>s	#

Zerion Mini Shell 1.0