+
    i  c                   s
   R t ^ RIt^ RI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# )zPython 'hex_codec' Codec - 2-digit hex content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
Nc                 V    VR 8X  g   Q h\         P                  ! V 4      \        V 4      3# Zstrict)binasciib2a_hexleninputerrors   &&,/usr/lib64/python3.14/encodings/hex_codec.py
hex_encoder
      *    XU#SZ00    c                 r    r   )r   a2b_hexr   r   r   r	   
hex_decoder      r   r   c                   s4   a  ] tR t^t o RR ltRR ltRtV tR# )Codecc                    \        W4      # N)r
   selfr   r      &&&r	   encodeZCodec.encode       %((r   c                r   r   )r   r   r   r	   decodeZCodec.decode   r   r    Nr   )__name__
__module____qualname____firstlineno__r   r   __static_attributes____classdictcell__Z__classdict__   @r	   r   r      s     )) )r   r   c                   s*   a  ] tR t^t o RR ltRtV tR# )IncrementalEncoderc                T    V P                   R 8X  g   Q h\        P                  ! V4      # r   )r   r   r   r   r   Zfinalr   r	   r   ZIncrementalEncoder.encode   %    {{h&&&&&r   r   NF)r   r   r   r   r   r   r   r   r    r	   r!   r!           ' 'r   r!   c                   s*   a  ] tR t^ t o RR ltRtV tR# )IncrementalDecoderc                r"   r   )r   r   r   r#   r   r	   r   ZIncrementalDecoder.decode!   r$   r   r   Nr%   )r   r   r   r   r   r   r   r   r    r	   r'   r'       r&   r   r'   c                   s    ] tR t^%t]tRtR# )StreamWriterr   Nr   r   r   r   ZbytesZcharbuffertyper   r   r   r	   r(   r(   %       Nr   r(   c                   s    ] tR t^(t]tRtR# )StreamReaderr   Nr)   r   r   r	   r+   r+   (   r*   r   r+   c                  sn    \         P                  ! R \        \        \        \
        \        \        RR7      # )ZhexF)Znamer   r   ZincrementalencoderZincrementaldecoderZstreamwriterZstreamreaderZ_is_text_encoding)codecsZ	CodecInfor
   r   r!   r'   r(   r+   r   r   r	   getregentryr-   -   s-    --!!	 	r   r   )Z__doc__r,   r   r
   r   r   r!   r'   r(   r+   r-   r   r   r	   <module>r.      s}     11)FLL )'22 '
'22 '
5&-- 5&-- 

r   