PKHeX/PKHeX.Core/Saves/Substructures/Gen7
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
..
BattleAgency7.cs Add battle agency slots to main window misc viewables 2021-07-26 23:57:05 -07:00
BattleTree7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
BelugaBlockIndex.cs Add daycare slot view for lgpe 2021-09-16 14:21:44 -07:00
BoxLayout7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
CaptureRecords.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
ConfigSave6.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
ConfigSave7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
ConfigSave7b.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Daycare7.cs Revert implicit casting 2021-03-29 00:14:44 -07:00
EventVarType.cs Remove unnecessary warning suppression 2021-12-27 12:09:15 -08:00
EventWork7b.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
FashionBlock7.cs Handle more messages 2019-10-27 20:39:15 -07:00
FestaFacility.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
FieldMenu7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
FieldMoveModelSave7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
GameTime7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
GoParkStorage.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
GP1.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
HallOfFame7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
IEventWork.cs Update 21.11.19 - Brilliant Diamond & Shining Pearl (#3289) 2021-11-19 18:23:49 -08:00
JoinFesta7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Misc7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Misc7b.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
MyItem.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
MyItem7b.cs Abstract-ify pouch items; acknowledge sort order 2021-12-02 23:31:48 -08:00
MyItem7SM.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
MyItem7USUM.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
MyStatus7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
MyStatus7b.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
MysteryBlock7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PlayerBattleStyle7.cs Minor tweaks 2020-09-09 12:47:24 -07:00
PlayerSkinColor7.cs Minor tweaks 2020-09-09 12:47:24 -07:00
PlayTime7b.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PokeFinder7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PokeListHeader.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PouchSize7b.cs Add misc setup objects 2018-11-13 19:16:14 -08:00
QR7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
ResortSave7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
SAV7BlockIndex.cs Move files to their correct location 2020-05-24 17:11:39 -07:00
SaveBlock.cs Minor clean 2020-12-21 17:48:08 -08:00
Situation7.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Stamp7.cs Add missing stamp 2019-03-29 09:40:31 -07:00
WB7Records.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
WormholeInfoReader.cs Trailing commas 2021-08-20 13:49:20 -07:00
WR7GiftType.cs Split up WR7 to separate files 2018-12-29 22:09:27 -08:00