-
-
Notifications
You must be signed in to change notification settings - Fork 51
Supported Runtimes
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.