public static CodeSignatureGenericBlob parse(BinaryReader reader) throws IOException {
		int magic = reader.peekNextInt();
		return switch (magic) {
			case CSMAGIC_EMBEDDED_SIGNATURE -> new CodeSignatureSuperBlob(reader);
			case CSMAGIC_CODEDIRECTORY -> new CodeSignatureCodeDirectory(reader);
			// TODO: Handle more blob types
			default -> new CodeSignatureGenericBlob(reader);
		};
	}
Parses a new Code Signature blob

@param reader A {@link BinaryReader} positioned at the start of a Code Signature blob
@return A new Code Signature blob
@throws IOException if there was an IO-related error parsing the blob
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/commands/codesignature/CodeSignatureBlobParser.java