servicepoint-tanks/tanks-backend/EndiannessSourceGenerator
2024-04-21 14:32:29 +02:00
..
Properties move backend to subfolder 2024-04-21 14:32:29 +02:00
EndiannessGenerator.cs move backend to subfolder 2024-04-21 14:32:29 +02:00
EndiannessSourceGenerator.csproj move backend to subfolder 2024-04-21 14:32:29 +02:00
Readme.md move backend to subfolder 2024-04-21 14:32:29 +02:00

Endianness Source Generator

When annotating a struct with the StructEndianness attribute, this code generator will generate properties for the declared fields.

Each time a property is read or written, the endianness is converted from runtime endianness to struct endianness or vice-versa.