def decode_int(s: bytes) -> int:
    """Decodes little endian encoded hex byte to little endian int

    Args:
        s (bytes): big endian encoded int

    Returns:
        int: little endian int
    """
    return int(s[::-1].hex(), 16) if s else 0