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
..
2015-05-12 15:40:29 -07:00
2021-08-17 11:02:57 -04:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2017-03-29 09:51:12 -07:00
2020-09-28 08:54:50 -07:00
2021-06-03 14:17:40 -07:00
2021-07-26 10:01:41 -07:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-02-04 23:33:57 +01:00
2021-12-09 15:47:09 -08:00
2021-07-26 10:01:41 -07:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-02-04 23:33:57 +01:00
2021-12-09 15:47:09 -08:00
2021-06-03 14:17:40 -07:00
2021-06-03 14:17:40 -07:00
2021-07-26 10:01:41 -07:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-05-30 16:02:57 -07:00
2021-12-09 15:47:09 -08:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2021-06-03 14:17:40 -07:00
2020-09-28 08:54:50 -07:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2021-06-03 14:17:40 -07:00
2021-11-04 15:12:25 -07:00
2021-06-03 14:17:40 -07:00
2020-02-10 17:43:36 -08:00
2019-06-02 12:36:49 -07:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-06-02 12:36:49 -07:00
2021-12-09 15:47:09 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2019-11-14 16:58:35 -08:00
2022-04-01 13:35:07 -07:00
2022-03-04 21:57:48 -08:00
2022-03-30 18:13:16 -04:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2022-03-04 21:57:48 -08:00
2021-02-19 12:47:59 +03:00
2021-05-10 11:29:32 -07:00
2022-03-04 21:57:48 -08:00
2021-08-17 11:02:57 -04:00
2021-06-03 14:17:40 -07:00
2020-09-28 08:54:50 -07:00
2021-06-03 14:17:40 -07:00
2020-02-10 17:43:36 -08:00
2019-09-05 10:22:04 -07:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-09-05 10:22:04 -07:00
2021-12-09 15:47:09 -08:00
2021-08-17 11:02:57 -04:00
2020-11-05 11:23:56 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2018-03-05 15:47:16 -08:00
2021-11-04 15:12:25 -07:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2020-11-05 11:23:56 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2016-05-26 15:26:58 +02:00
2021-11-04 15:12:25 -07:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2021-03-29 19:56:45 -04:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2021-03-29 19:56:45 -04:00
2021-03-29 19:56:45 -04:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2016-05-26 15:26:58 +02:00
2020-09-28 08:54:50 -07:00
2020-02-10 17:43:36 -08:00
2021-06-03 14:17:40 -07:00
2019-07-22 16:05:15 -07:00
2021-12-09 15:47:09 -08:00
2021-08-17 11:02:57 -04:00
2020-11-05 11:23:56 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-05-09 10:07:38 -07:00
2021-11-04 15:12:25 -07:00
2021-06-03 14:17:40 -07:00
2021-06-03 14:17:40 -07:00
2022-04-01 13:35:07 -07:00
2020-11-05 11:23:56 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2018-12-20 16:10:20 -08:00
2021-11-04 15:12:25 -07:00
2021-06-03 14:17:40 -07:00
2021-08-17 11:02:57 -04:00
2020-01-16 16:19:00 -08:00
2021-06-03 14:17:40 -07:00
2022-02-13 20:29:36 -08:00
2022-02-15 11:48:42 -05:00
2019-05-09 10:07:38 -07:00
2020-09-28 08:54:50 -07:00
2021-06-03 14:17:40 -07:00