+
     Bi#                        R t ^ RIt^ RIt^ RIHt RR ltRR lt ! R R]P                  4      t ! R R]P                  4      t ! R	 R
]P                  4      t	 ! R R]]P                  4      t
 ! R R]]P                  4      tR tR# )a  Python 'uu_codec' Codec - UU content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
N)BytesIOc                    VR 8X  g   Q h\        V 4      p\        4       pVP                  pVP                  pVP                  RR4      pVP                  RR4      pV! RVR,          V3,          P	                  R4      4       V! ^-4      pV'       d'   V! \
        P                  ! V4      4       V! ^-4      pK.  V! R4       VP                  4       \        V 4      3# )	strict
z\nz\rzbegin %o %s
i  asciis    
end
)	r   readwritereplaceencodebinasciib2a_uugetvaluelen)	inputerrorsfilenamemodeinfileoutfiler   r	   chunks	   &&&&     )/usr/lib/python3.14/encodings/uu_codec.py	uu_encoder      s    XU^FiG;;DMME U+HU+H 
?dUlH55
=
=g
FGHE
hooe$%R	+E
++    c                 b   VR 8X  g   Q h\        V 4      p\        4       pVP                  pVP                  p V! 4       pV'       g   \        R4      hVR,          R8X  g   K+    T! 4       pT'       d   TR8X  d   M! \        P
                  ! T4      pT! T4       K9  T'       g   \        R4      hTP                  4       \        T 4      3#   \        P                   dP   pT^ ,          ^ ,
          ^?,          ^,          ^,           ^,          p	\        P
                  ! TRT	 4      p Rp?LRp?ii ; i)r   z"Missing "begin" line in input data:N   Ns   begins   end
NzTruncated input data)	r   readliner	   
ValueErrorr   a2b_uuErrorr   r   )
r   r   r   r   r   r	   sdatavnbytess
   &&        r   	uu_decoder$   %   s   XU^FiGHMME JABBR5H JAM	/??1%D 	d/00E
++ ~~ 	/!R2~*Q.14F??1Wf:.D	/s   <C
 
D.AD))D.c                   4   a  ] tR t^Ft o RR ltRR ltRtV tR# )Codecc                    \        W4      # N)r   selfr   r   s   &&&r   r   Codec.encodeG       ''r   c                    \        W4      # r(   )r$   r)   s   &&&r   decodeCodec.decodeJ   r,   r    Nr   )__name__
__module____qualname____firstlineno__r   r.   __static_attributes____classdictcell____classdict__s   @r   r&   r&   F   s     (( (r   r&   c                   *   a  ] tR t^Mt o RR ltRtV tR# )IncrementalEncoderc                :    \        WP                  4      ^ ,          #     )r   r   r*   r   finals   &&&r   r   IncrementalEncoder.encodeN       ,Q//r   r0   NF)r2   r3   r4   r5   r   r6   r7   r8   s   @r   r;   r;   M        0 0r   r;   c                   *   a  ] tR t^Qt o RR ltRtV tR# )IncrementalDecoderc                :    \        WP                  4      ^ ,          # r=   )r$   r   r?   s   &&&r   r.   IncrementalDecoder.decodeR   rB   r   r0   NrC   )r2   r3   r4   r5   r.   r6   r7   r8   s   @r   rF   rF   Q   rD   r   rF   c                       ] tR t^Ut]tRtR# )StreamWriterr0   Nr2   r3   r4   r5   bytescharbuffertyper6   r0   r   r   rJ   rJ   U       Nr   rJ   c                       ] tR t^Xt]tRtR# )StreamReaderr0   NrK   r0   r   r   rP   rP   X   rN   r   rP   c                  n    \         P                  ! R \        \        \        \
        \        \        RR7      # )uuF)namer   r.   incrementalencoderincrementaldecoderstreamreaderstreamwriter_is_text_encoding)codecs	CodecInfor   r$   r;   rF   rP   rJ   r0   r   r   getregentryr[   ]   s-    --!!	 	r   )r   z<data>i  r1   )__doc__rY   r   ior   r   r$   r&   r;   rF   rJ   rP   r[   r0   r   r   <module>r^      s      ,*,B(FLL (022 0022 05&-- 5&-- 

r   