public static Set<GoTypeFlag> parseFlags(int b) {
		EnumSet<GoTypeFlag> result = EnumSet.noneOf(GoTypeFlag.class);
		for (GoTypeFlag flag : values()) {
			if (flag.isSet(b)) {
				result.add(flag);
			}
		}
		return result;
	}
Enum defining the various bitflags held in a GoType's tflag
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoTypeFlag.java