U
    ;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|  } q | 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)Zbytes_width r
   1/tmp/pip-unpacked-wheel-x1gypflw/oscrypto/_int.pyr      s    
N)__doc__
__future__r   r   r   r   __all__r   r
   r
   r
   r   <module>   s   