• Christopher Cifra's avatar
    [C#] Fix compile issue when compiling with older versions of C# (#4938) · ed03faaf
    Christopher Cifra authored
    * C# support for directly reading and writting to memory other than byte[].  For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files.
    
    Public access to the backing buffer uses Span<T> instead of ArraySegment<T>.
    
    Writing to the buffer now supports Span<T> in addition to T[].
    
    To maintain backwards compatibility ENABLE_SPAN_T must be defined.
    
    * Remove usage of expression bodied method so that ByteBuffer can be compiled with older version of C#.
    ed03faaf
Name
Last commit
Last update
..
ByteBuffer.cs Loading commit data...
ByteBufferUtil.cs Loading commit data...
FlatBufferBuilder.cs Loading commit data...
FlatBufferConstants.cs Loading commit data...
FlatBuffers.csproj Loading commit data...
IFlatbufferObject.cs Loading commit data...
Offset.cs Loading commit data...
Struct.cs Loading commit data...
Table.cs Loading commit data...