import uuid


def uuid_from_string(idstr):
    """Convert an uuid into an array of integers"""
    if not idstr:
        return None
    hexstr = uuid.UUID(idstr).hex
    return [int(hexstr[i:i+2], 16) for i in range(32) if i % 2 == 0]