
    f jG                        d Z ddlmZ ddlmZ dZ e ed                     e edd                    z   ZefddZ	dS )z"Stage 0: Binary content detection.    )annotations)DEFAULT_MAX_BYTESg{Gz?	          databytes	max_bytesintreturnboolc                    | d|         } | sdS |                      dt                    }t          |           t          |          z
  }|t          |           z  t          k    S )zReturn ``True`` if *data* appears to be binary (not text) content.

    :param data: The raw byte data to examine.
    :param max_bytes: Maximum number of bytes to scan.
    :returns: ``True`` if the data is classified as binary.
    NF)	translate_BINARY_DELETElen_BINARY_THRESHOLD)r   r
   cleanbinary_counts       kC:\Users\Terasoftware\OneDrive\Desktop\faahhh\fyndo\fyndo\venv\Lib\site-packages\chardet/pipeline/binary.py	is_binaryr      s_     

D uNN400Et99s5zz)L#d))#&777    N)r   r	   r
   r   r   r   )
__doc__
__future__r   chardet._utilsr   r   r	   ranger   r    r   r   <module>r      s    ( ( " " " " " " , , , , , ,   uuT{{##eeEE$,=,=&>&>> -> 8 8 8 8 8 8 8r   