You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
James Courtney edited this page Mar 13, 2024
·
5 revisions
In FlatSharp, you define your Flatbuffer tables in fbs files and use the FlatSharp compiler to generate code when you build your project. Compile time allows full ahead-of-time code generation, so technologies like Mono AOT, .NET 7 AOT, Unity, and Blazor are all supported.
You need to reference both FlatSharp.Compiler and FlatSharp.Runtime.
All major C# environments are supported when using the FlatSharp compiler:
.NET (6.0+), including AOT
.NET Standard 2.0 and 2.1
.NET Framework (4.7+)
Unity
Xamarin
Mono, including AOT
Blazor
The samples project has many examples of FlatSharp compiler usage.