PKHeX/PKHeX.WinForms/Subforms/PKM Editors
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
..
BatchEditor.cs Handle net6 warnings for nullability 2021-12-04 22:29:51 -08:00
BatchEditor.Designer.cs Cleanup 2019-10-26 12:33:58 -07:00
MemoryAmie.cs Show correct HatchCounter value for BDSP traded eggs 2021-11-21 19:53:13 -08:00
MemoryAmie.Designer.cs Add sociability to Memory editor, add legality checks 2021-05-23 11:22:09 -07:00
RibbonEditor.cs Split PKHeX.Drawing into subprojects 2021-11-27 15:48:08 -08:00
RibbonEditor.Designer.cs Update RibbonEditor.Designer.cs 2021-02-10 14:12:14 -08:00
SuperTrainingEditor.cs Localize super training flag names 2021-07-26 23:56:42 -07:00
SuperTrainingEditor.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
TechRecordEditor.cs Update 21.11.19 - Brilliant Diamond & Shining Pearl (#3289) 2021-11-19 18:23:49 -08:00
TechRecordEditor.Designer.cs Add technical record flag editor & api 2019-11-15 23:12:28 -08:00
Text.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Text.Designer.cs Minor clean 2020-01-05 18:46:30 -08:00