Martchus
07e9546855
* Add/update binary conversion functions to use `std::memcopy` * Only GCC could actually optimize the custom code using bit operations * Clang could only optimize the `getBytes()` functions * MSVC could not optimize any of the functions * The to…Int…() functions cannot be updated as they are `constexpr` (and thus `std::memcopy` and `reinterpret_cast` cannot be used). So they stay as-is and `toInt()` has been added instead * The `BinaryReader` class has been updated to use the new `toInt()` function |
||
---|---|---|
.. | ||
ansiescapecodes.cpp | ||
ansiescapecodes.h | ||
binaryreader.cpp | ||
binaryreader.h | ||
binarywriter.cpp | ||
binarywriter.h | ||
bitreader.cpp | ||
bitreader.h | ||
buffersearch.cpp | ||
buffersearch.h | ||
copy.h | ||
inifile.cpp | ||
inifile.h | ||
misc.cpp | ||
misc.h | ||
nativefilestream.cpp | ||
nativefilestream.h | ||
path.cpp | ||
path.h |