*j# S r SSKrSSKrSSKJr SS jrSS jr " S S\R 5 r " S S \R 5 r " S S\R 5 r " S S \\R 5 r " S S\\R 5 rS rg)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 US:X d e[ U 5 n[ 5 nUR nUR nUR SS5 nUR SS5 nU" SUS- U4- R S5 5 U" S 5 nU( a- U" [ R " U5 5 U" S 5 nU( a M- U" S 5 UR 5 [ U 5 4$ )Nstrict z\n z\rzbegin %o %s i ascii- s end ) r readwritereplaceencodebinasciib2a_uugetvaluelen) inputerrorsfilenamemodeinfileoutfiler r chunks 9/opt/alt/python313/lib64/python3.13/encodings/uu_codec.py uu_encoder s X U^FiG;;DMME U+HU+H ?dUlH55 = =g FGHE hooe$%R % +E ++ c US:X d e[ U 5 n[ 5 nUR nUR n U" 5 nU( d [ S5 eUS S S:X a OM% U" 5 nU( a US:X a O! [ R " U5 nU" U5 M6 U( d [ S5 eUR 5 [ U 5 4$ ! [ R a7 nUS S- S- S - S- S - n [ R " US U 5 n S nAN}S nAff = f)Nr z"Missing "begin" line in input data s begins end r ? zTruncated input data) r readliner ValueErrorr a2b_uuErrorr r ) r r r r r" r sdatavnbytess r uu_decoder* % s X U^FiGHMME JABBRa5H JAM /??1%D d /00E ++ ~~ /!R2~*Q.14F??1Wf:.D /s 3C D-DDc ( \ rS rSrSS jrSS jrSrg)CodecF c [ X5 $ N)r selfr r s r r Codec.encodeG ''r c [ X5 $ r/ )r* r0 s r decodeCodec.decodeJ r3 r Nr )__name__ __module____qualname____firstlineno__r r5 __static_attributes__r7 r r r, r, F s ((r r, c \ rS rSrSS jrSrg)IncrementalEncoderM c 2 [ XR 5 S $ Nr )r r r1 r finals r r IncrementalEncoder.encodeN ,Q//r r7 NF)r9 r: r; r<