Wc dZddlZejZddZGddej ZGddej ZGd d ejZGd d ejZ d Z dS)z Python 'utf-16-be' Codec Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. Nstrictc4tj||dS)NT)codecsutf_16_be_decode)inputerrorss ,/usr/lib64/python3.12/encodings/utf_16_be.pydecoder s  " "5&$ 77ceZdZddZdS)IncrementalEncoderFcRtj||jdS)Nr)rutf_16_be_encoder)selfrfinals r encodezIncrementalEncoder.encodes&&udkk:1==r N)F)__name__ __module__ __qualname__rr r r r s(>>>>>>r r c&eZdZejZdS)IncrementalDecoderN)rrrrr_buffer_decoderr r rrs,,NNNr rc&eZdZejZdS) StreamWriterN)rrrrrrrr r rr  $ $FFFr rc&eZdZejZdS) StreamReaderN)rrrrrr rr r rrrr rc ztjdtttt t tS)Nz utf-16-be)namerr incrementalencoderincrementaldecoder streamreader streamwriter)r CodecInforr r rrrrr r getregentryr&!s/    --!!  r )r) __doc__rrrr r BufferedIncrementalDecoderrrrr&rr r r)s   8888>>>>>22>>-----::--%%%%%6&&%%%%%%%6&&%%     r