File Encoders for all file formats in `d2common/d2fileformats/

Author: gravestenchCreated Nov 8, 2020Updated Jun 27, 2021
LabelsEnhancementHelp WantedGood First IssueNormal Priority

We currently only have file decoders in `d2fileformats`. Most of the `Load` functions take a byte slice as an argument, and parse the bytes into a struct for that file type. We need to be able to convert a struct instance back to a byte slice.