public override string ToString() { return("Unknown Section Type (ID: " + SectionID + ", Offset in File (includes section header): 0x" + FileOffset.ToString("X") + ", Length: 0x" + SectionData.Length.ToString("X") + " bytes (excluding section header))"); // return "Unknown Section Type (ID: " + SectionID + ", Offset in File (includes section header): 0x" + // FileOffset.ToString("X") + ", Length: 0x" + SectionData.Length.ToString("X") + // " bytes (excluding section header))"; + $"\n{Encoding.UTF8.GetString(SectionData).Replace(" ", "")}"; }
public override string ToString() { var str = "Waymark Presets Section ( ID: " + SectionID + ", Offset in File( includes section header ): 0x" + FileOffset.ToString("X") + ", Length: 0x" + SectionData.Length.ToString("X") + " bytes( excluding section header ) )\r\n"; foreach (var preset in Presets) { str += preset.ToString(); str += "\r\n-----------\r\n"; } return(str); }
public override string ToString() { return("Unknown Section Type (ID: " + SectionID.ToString() + ", Offset in File (includes section header): 0x" + FileOffset.ToString("X") + ", Length: 0x" + SectionData.Length.ToString("X") + " bytes (excluding section header))"); }