File: //var/opt/nydus/ops/oscrypto/__pycache__/_int.cpython-39.pyc
a
�,�h� � @ s. d Z ddlmZmZmZmZ dgZdd� ZdS )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 rd| } 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)�bytes_�width� r �>/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/oscrypto/_int.pyr s
N)�__doc__�
__future__r r r r �__all__r r r r r �<module> s �