def le2i(b: bytes, signed: bool=False) ->int:
    """
    Convert little endian (LE) bytes to int

    Args:
        b: LE bytes to convert to int
        signed: two's complement flag
    Returns:

    """
    return int.from_bytes(b, 'little', signed=signed)
