Ejemplo n.º 1
0
 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(" ", "")}";
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 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))");
 }