c9651b7420
* Add overloads to Add/Put for ArraySegment and IntPtr In order to allow using code to reduce memory allocations, add overloads to ByteBuffer's and FlatBuffersBuilder's Put/Add methods that take ArraySegment<T> or IntPtr respectively. Also, adaptions to the c# code generator in flatc to emit corresponding CreateVectorBlock() overloads * Add missing files generated with generate_code.py The previous commit changed the C# code generate, but didn't contain the updated generated test files. * Incorporate review findings (1) Adhere to 80 characters limit. (2) In FlatBufferBuilder.Add(IntPtr,int), move zero length check topmost and add sanity check against negative input |
||
---|---|---|
.. | ||
Properties | ||
ByteBuffer.cs | ||
ByteBufferUtil.cs | ||
FlatBufferBuilder.cs | ||
FlatBufferConstants.cs | ||
FlatBuffers.csproj | ||
FlatBuffers.net35.csproj | ||
IFlatbufferObject.cs | ||
Offset.cs | ||
Struct.cs | ||
Table.cs |