@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		Structure structure = new StructureDataType("ext4_dir_entry", 0);
		structure.add(DWORD, "inode", null);
		structure.add(WORD, "rec_len", null);
		structure.add(WORD, "name_len", null);
		structure.add(STRING, name_len, "name", null);
		if( extra != null ) {
			structure.add( new ArrayDataType(BYTE, extra.length, BYTE.getLength()), "extra", null);
		}
		return structure;
	}
Reads a Ext4DirEntry from the stream.

@param reader BinaryReader to read from
@return new Ext4DirEntry, or null if eof
@throws IOException if error when reading
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ext4/Ext4DirEntry.java