python (3.11.7)
    e%                         	 d dl Z ddZddZ G d de j                  Z G d de j                  Z G d	 d
e j                  Z G d de j                  Zd
 ZdS )    Nstrictc                 p    t           j        t          j        | |          d         z   t          |           fS Nr   )codecsBOM_UTF8utf_8_encodelen)inputerrorss     G/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/encodings/utf_8_sig.pyencoder
      s1    Of1%@@CCJJ     c                     d}| d d         t           j        k    r| dd          } d}t          j        | |d          \  }}|||z   fS )Nr      T)r   r   utf_8_decode)r
   r   prefixoutputconsumeds        r   decoder      sV    
FRaRyFO##abb	,UFDAAVXHVO$$r   c                   0    e Zd Zd	dZd
dZd Zd Zd ZdS )IncrementalEncoderr   c                 T    t           j                            | |           d| _        d S N   )r   r   __init__firstselfr   s     r   r   zIncrementalEncoder.__init__   s&