o
    -׾g                     @   s.   d Z ddlmZmZmZmZ dgZdd ZdS )z
Function to fill ensure integers converted to a byte string are a specific
width. Exports the following items:

 - fill_width()
    )unicode_literalsdivisionabsolute_importprint_function
fill_widthc                 C   s$   t | |k rd|  } t | |k s| S )a  
    Ensure a byte string representing a positive integer is a specific width
    (in bytes)

    :param bytes_:
        The integer byte string

    :param width:
        The desired width as an integer

    :return:
        A byte string of the width specified
        )len)bytes_width r   W/var/www/html/backend_erp/backend_erp_env/lib/python3.10/site-packages/oscrypto/_int.pyr      s   N)__doc__
__future__r   r   r   r   __all__r   r   r   r   r   <module>   s
   