def b2i(value: bytes) ->int:
    """
    Convert bytes value to integer

    Args:
        value (``bytes``):
            Value to convert

    Returns:
        Resulting ``int`` object
    """
    return int.from_bytes(value, 'big')
