35 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) 2b1cd83677 Use exceptions inside the writers (#535)
Adds error handling using exceptions in the write processes.
2025-10-27 23:38:20 +01:00
Dr. Patrick Urbanke (劉自成) d0f60b214f Make sure that the headers are self-contained; fixes #528 (#531) 2025-10-25 13:03:12 +02:00
Philemon Benner 83951fd90b Feature/shared exports msvc (#525) 2025-10-19 16:32:15 +02:00
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
Dr. Patrick Urbanke (劉自成) 93e41778ca Applied the byte containers to all byte formats (#474) 2025-08-04 21:45:27 +02:00
Brett Jia 372345888c Serialize/Deserialize vector<char> as bytestring (#466) 2025-07-20 12:57:37 +02:00
George Evmenov 15742a8739 Fix bytestring being serialized as vector of flag enums (#403) 2025-04-10 22:57:03 +08:00
Dr. Patrick Urbanke (劉自成) c929d3fe0d Do not allow the reading of floats as integers and vice versa (#387) 2025-03-16 16:25:45 +08:00
George Evmenov ec8c19fa3e fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> (#369) 2025-03-02 07:23:40 +08:00
Jowillianto 6d51c12db5 Feat/286/std expected (#340) 2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成) 95f97b4872 Use static_cast for the pointer transformations (#298) 2024-12-18 21:17:05 +01:00
Dr. Patrick Urbanke (劉自成) ebe33017ad Remove most instances of reinterpret_cast with std::bit_cast (#242) 2024-10-31 20:05:55 +01:00
George Evmenov 9dcd49a1e0 Move some heavy templates into cpp (#204) 2024-10-08 22:12:03 +02:00
Dr. Patrick Urbanke (劉自成) fae5e5ff58 Added support for bytestrings; #69 (#132) 2024-06-30 20:41:53 +02:00
Dr. Patrick Urbanke (劉自成) 0247c57d5b Added the rfl::NoFieldNames processor (#121) 2024-06-18 19:23:43 +02:00
liuzicheng1987 6bb95ff09b More efficient way of parsing array-like data structures. (#98) 2024-05-07 20:43:04 +02:00
liuzicheng1987andPatrick Urbanke 15f2c632dd Added support for processors; resolves #67 (#94)
Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-05-01 20:08:06 +02:00
Patrick Urbanke 58d89e717c Optimizationg for the reader and writer; #68 2024-03-16 09:58:26 +01:00
Patrick Urbanke 54785ec893 Use std::string_view for the field names during the write process 2024-03-10 16:32:53 +01:00
Patrick Urbanke 151e606264 Made sure that to_map returns a result 2024-01-17 05:31:23 +01:00
Patrick Urbanke 03f6f2ef44 Moved Array.hpp and wrap_in_rfl_array_t into internal 2024-01-04 04:39:36 +01:00
Patrick Urbanke f9f5cc7792 Got rid of stray OutputValue.hpp 2024-01-03 17:43:50 +01:00
Patrick Urbanke 7a5b53b85d Replaced all decay_t with cvref_t 2024-01-03 15:50:52 +01:00
Patrick Urbanke 11c80d4e89 Resolved merge conflicts 2024-01-03 15:49:14 +01:00
Patrick Urbanke 5c81e40f09 Redesigned the writer (#36) and added YAML support based on the new writer (#23) 2024-01-03 07:22:36 +01:00
hazby2002 c6d3012510 Remove Result<c-array>. 2024-01-02 18:17:32 +08:00
hazby2002 2d45ddfdc8 Change all decay to remove_cvref. 2023-12-29 17:05:16 +08:00
Txema Ynzenga c5e5815e73 Change project includes to relative 2023-12-23 01:04:57 +01:00
Patrick Urbanke 87a76193e1 Added virtual destructor to make clang happy 2023-12-19 22:56:28 +01:00
Patrick Urbanke 6b857e1104 Added support for reading and writing into streams 2023-11-19 12:34:06 +01:00
Patrick Urbanke 8d000e9db2 Added support for saving and loading 2023-11-12 20:41:15 +01:00
Patrick Urbanke a68622e57f Added tests for Ref, Box and custom constructors 2023-11-12 15:04:10 +01:00
Patrick Urbanke 629dd0c036 Added more tests 2023-11-12 00:08:56 +01:00
Patrick Urbanke 2a948e809a Using std::optional in the fields array; fixes the test and increases safety 2023-11-11 23:33:15 +01:00
Patrick Urbanke 5efa9df16e Added flexbuffers reader and writer as well as first test (but does not pass) 2023-11-11 23:16:49 +01:00