@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		StructureDataType struct = new StructureDataType(Omf51RecordTypes.getName(recordType), 0);
		struct.add(BYTE, "type", null);
		struct.add(WORD, "length", null);
		struct.add(largeSegmentId ? WORD : BYTE, "SEG ID", null);
		struct.add(WORD, "offset", null);
		if (dataSize > 0) {
			struct.add(new ArrayDataType(BYTE, dataSize, 1), "data", null);
		}
		struct.add(BYTE, "checksum", null);

		struct.setCategoryPath(new CategoryPath(OmfUtils.CATEGORY_PATH));
		return struct;
	}
{@return the start of the data in the reader}
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf51/Omf51Content.java