
    Ѯh                     N    d dl Z d dlZd dlmZ d dlmZ d dlmZ  G d de      Zy)    N)extend)value)CommonChecksumc                   "    e Zd ZdZdZddZd Zy)ChecksumzHashlib-alike helper for CRC32C operations.

    Args:
        initial_value (Optional[bytes]): the initial chunk of data from
            which the CRC32C checksum is computed.  Defaults to b''.
    )_crcc                 $    t        |      | _        y )N)r   r   )selfinitial_values     d/home/www/academy-backend.kofcorporation.com/venv/lib/python3.12/site-packages/google_crc32c/cext.py__init__zChecksum.__init__#   s    -(	    c                 :    t        | j                  |      | _        y)zUpdate the checksum with a new chunk of data.

        Args:
            chunk (Optional[bytes]): a chunk of data used to extend
                the CRC32C checksum.
        N)r   r   )r
   chunks     r   updatezChecksum.update&   s     499e,	r   N)r   )__name__
__module____qualname____doc__	__slots__r   r    r   r   r   r      s     I)-r   r   )	structgoogle_crc32c.__config__google_crc32cgoogle_crc32c._crc32cr   r   google_crc32c._checksumr   r   r   r   r   <module>r      s$       ( ' 2-~ -r   