public static NoteGnuBuildId read(ElfNote note, Program program) throws IOException {
		if (!note.isGnu() || note.getDescription().length == 0) {
			throw new IOException("Invalid .note.gnu.build-id values: %s, %d"
					.formatted(note.getName(), note.getDescription().length));
		}
		return new NoteGnuBuildId(note.getNameLen(), note.getName(), note.getVendorType(),
			note.getDescription());
	}
Deserializes a NoteGnuBuildId from an already read generic Note.

@param note generic Note
@param program context
@return new NoteGnuBuildId instance, never null
@throws IOException if data error
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/info/NoteGnuBuildId.java