PKHeX/PKHeX.WinForms/Subforms
Kurt 47071b41f3
Refactoring: Span-based value writes and method signatures (#3361)
Existing `get`/`set` logic is flawed in that it doesn't work on Big Endian operating systems, and it allocates heap objects when it doesn't need to.

`System.Buffers.Binary.BinaryPrimitives` in the `System.Memory` NuGet package provides both Little Endian and Big Endian methods to read and write data; all the `get`/`set` operations have been reworked to use this new API. This removes the need for PKHeX's manual `BigEndian` class, as all functions are already covered by the BinaryPrimitives API.

The `StringConverter` has now been rewritten to accept a Span to read from & write to, no longer requiring a temporary StringBuilder.

Other Fixes included:
- The Super Training UI for Gen6 has been reworked according to the latest block structure additions.
- Cloning a Stadium2 Save File now works correctly (opening from the Folder browser list).
- Checksum & Sanity properties removed from parent PKM class, and is now implemented via interface.
2022-01-02 21:35:59 -08:00
..
Misc Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PKM Editors Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Save Editors Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
KChart.cs File scoped namespace for drawing projects 2021-12-10 00:15:04 -08:00
KChart.Designer.cs Add Catch Rate to KChart (#2972) 2020-08-15 16:13:15 -07:00
ReportGrid.cs Split PKHeX.Drawing into subprojects 2021-11-27 15:48:08 -08:00
ReportGrid.Designer.cs Remove box bar, inline sprite height calc 2021-08-05 18:54:47 -07:00
SAV_Database.cs Remove unnecessary warning suppression 2021-12-27 12:09:15 -08:00
SAV_Database.Designer.cs Update SAV_Database.Designer.cs 2021-08-05 12:27:26 -07:00
SAV_Encounters.cs Don't iterate battle forms when displaying encounter lists 2021-12-26 00:44:16 -08:00
SAV_Encounters.Designer.cs Align shiny checkbox same as pkmdb 2021-05-18 16:59:01 -07:00
SAV_FolderList.cs Handle net6 warnings for nullability 2021-12-04 22:29:51 -08:00
SAV_FolderList.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_MysteryGiftDB.cs Remove unnecessary warning suppression 2021-12-27 12:09:15 -08:00
SAV_MysteryGiftDB.Designer.cs Update Database/MGDB/EncounterDB for new size 2019-11-16 15:56:30 -08:00
SettingsEditor.cs Remove unnecessary warning suppression 2021-12-27 12:09:15 -08:00
SettingsEditor.Designer.cs Rewrite settings handling; enhance some user experiences (#3193) 2021-04-11 18:09:54 -07:00