Files
flatbuffers/tests
Jamie-Jameson c9651b7420 Add overloads for C# ByteBuffer/FlatBufferBuilder to allow adding vector blocks from ArraySegments or IntPtr (#7193)
* 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
2022-04-01 13:35:07 -07:00
..
2022-03-28 18:07:09 -04:00
2022-03-28 18:07:09 -04:00
2022-02-16 15:02:54 -05:00
2022-02-16 15:02:54 -05:00
2022-03-28 18:07:09 -04:00
2021-12-02 21:29:19 -08:00
2021-12-02 21:29:19 -08:00
2021-11-19 17:01:48 -08:00
2022-03-28 18:07:09 -04:00
2021-01-19 12:51:13 -08:00