Commit Graph

32 Commits

Author SHA1 Message Date
Martchus 8c033ca243 Fix warnings 2021-03-20 21:56:45 +01:00
Martchus 9a95db3773 Add BinaryReader::readRemainingBytes() 2019-10-30 20:29:26 +01:00
Martchus b48b2f5c06 Have everything in one top-level namespace 2019-06-10 21:56:46 +02:00
Martchus 96dda1b862 Prevent use of extra buffer in BinaryReader::readTerminatedString() 2019-06-04 19:40:12 +02:00
Martchus 0f2f98393f Allow inlining more BinaryReader/BinaryWriter functions 2019-06-04 19:27:49 +02:00
Martchus d8a70bb795 Fix implicit signedness conversion 2019-06-04 19:12:08 +02:00
Martchus f95e16bc80 Remove readMultibyteTerminatedString*() functions 2019-06-04 19:10:52 +02:00
Martchus 5a8029692b Fix some Doxygen warnings 2019-06-01 15:07:08 +02:00
Martchus 9a50d2b8df Remove types 2019-04-13 20:33:39 +02:00
Marius Kittler 73ddc55702 Inline some methods of BinaryReader/BinaryWriter 2019-04-13 20:33:39 +02:00
Martchus 5deb077fe5 Extend Binary{Reader,Writer} to ease binary (de)serialization
To implement reflection-enabled binary (de)serialization
in https://github.com/Martchus/reflective-rapidjson.
2018-06-20 23:07:08 +02:00
Martchus b375ea80b0 Deprecate BinaryReader::readTerminatedString() methods 2018-01-29 16:30:46 +01:00
Martchus 209a59106e Fix BinaryReader::readMultibyteTerminatedStringXX methods 2018-01-29 16:29:49 +01:00
Martchus 1d4a4bd2be binary reader/writer: Increase limit of length-prefixed strings
So strings with a size up to 0xFFFFFFFFFFFFFF byte can be handled.
2017-07-28 20:34:50 +02:00
Martchus 59e20b1043 Apply clang-format 2017-05-01 03:13:11 +02:00
Martchus c4cf107de2 Make cast in binary reader explicit 2017-02-06 18:32:27 +01:00
Martchus 06af1c4a73 Use std::make_unique provided by C++14 2017-02-05 21:00:52 +01:00
Martchus d6b08b8ed9 Fix decoration for static builds
- Also add improvemnts a few other things in the build system
2016-08-29 15:35:48 +02:00
Martchus 980794066b Provide workaround for GCC Bug 66145 2016-06-14 22:53:19 +02:00
Martchus c7c64e0784 Improve documentation 2016-06-10 14:08:56 +02:00
Martchus 41c44a5f43 Delete m_streamSize member of BinaryReader 2016-06-08 00:38:58 +02:00
Martchus 009a2268ec Fix small issues of BinaryReader/BinaryWriter
- fix documentation
- fix useless checks
2016-06-08 00:36:01 +02:00
Martchus 3d510a0682 avoid copy in BinaryReader::readString(size_t length) 2016-02-20 01:35:42 +01:00
Martchus 1d8177ba41 added missing methods 2016-01-27 01:00:38 +01:00
Martchus a8f7644350 minor adjustments 2016-01-18 23:41:30 +01:00
Martchus aff51370d9 implemented computeCrc32() 2015-10-20 08:49:38 +02:00
Martchus cd01df9c64 access CRC tab directly 2015-10-16 21:34:58 +02:00
Martchus 4d6bf67188 fixed includes 2015-09-06 20:19:09 +02:00
Martchus 603dbf823a fixed includes 2015-09-06 15:30:16 +02:00
Martchus c62e25ee2a improved conversion utilities 2015-07-18 01:11:12 +02:00
Martchus 6bf736af0e completed BitReader class; small improvements 2015-06-10 21:00:44 +02:00
Martchus 24ba96a17f First commit 2015-04-22 18:36:40 +02:00