private Relocation getRelocation(DBRecord rec) throws IOException {
		Address addr = addrMap.decodeAddress(rec.getLongValue(RelocationDBAdapter.ADDR_COL));
		byte flags = rec.getByteValue(RelocationDBAdapter.FLAGS_COL);
		Status status = RelocationDBAdapter.getStatus(flags);
		int length = RelocationDBAdapter.getByteLength(flags);
		BinaryCodedField valuesField =
			new BinaryCodedField((BinaryField) rec.getFieldValue(RelocationDBAdapter.VALUE_COL));
		byte[] originalBytes = getOriginalBytes(addr, status,
			rec.getBinaryData(RelocationDBAdapter.BYTES_COL), length);
		return new Relocation(addr, status, rec.getIntValue(RelocationDBAdapter.TYPE_COL),
			valuesField.getLongArray(), originalBytes,
			rec.getString(RelocationDBAdapter.SYMBOL_NAME_COL));
	}
Get the specified number of original file bytes for the specified address.  Any offsets
not backed by file bytes will have a 0-byte value.
@param memory program memory
@param addr memory address
@param byteCount number of original file bytes to read
@return byte array of length byteCount
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/reloc/RelocationManager.java