def parse_byteOrder(byteOrder):
    'convert byteOrder to enum'
    if ((byteOrder is None) or (byteOrder == '')):
        return None
    value = STRING_ENUM_MAP.get(byteOrder)
    if (value is None):
        raise ValueError(f'invalid byteOrder {repr(value)},expected one of {{SBE_STRING_ENUM_MAP.keys()}}')
    return value
convert byteOrder to enum
def parse_byteOrder(byteOrder):
    
    if ((byteOrder is None) or (byteOrder == )):
        return None
    value = STRING_ENUM_MAP.get(byteOrder)
    if (value is None):
        raise ValueError(f'invalid byteOrder {repr(value)},expected one of {{SBE_STRING_ENUM_MAP.keys()}}')
    return value