Hacked By AnonymousFox
�
�܋f= � �z � d Z ddlmZ ddlZddlZddlmZ ddlmZm Z dd
�Z
dd
�Zdd�Zdd�Z
dd�Zdd�Zd d�ZdS )!a�
Functions to manipulate packed binary representations of number sets.
To save space, coverage stores sets of line numbers in SQLite using a packed
binary representation called a numbits. A numbits is a set of positive
integers.
A numbits is stored as a blob in the database. The exact meaning of the bytes
in the blobs should be considered an implementation detail that might change in
the future. Use these functions to work with those binary blobs of data.
� )�annotationsN)�zip_longest)�Iterable�List�nums�
Iterable[int]�return�bytesc �� � t | � � dz dz }n# t $ r Y dS w xY wt |� � }| D ]}||dz xx d|dz z z cc<