Expand description
This crate provides a C# code generator for the ffi_reflect
crate.
The code generator is implemented as a function that takes a root types definitions
and writes C# code into the std::io::Write
.
For details see the function description.
Note that array implementation is not absolutely safe due to C# limitations. Be careful with references to array items, because it is possible to create a dangling reference.
Also, if you want to disable array bounds checking in the generated code,
define the FFI_REFLECT_NO_BOUNDS_CHECK
.
Functionsยง
- write_
types - Write C# code required to represent given
root_types
.