ndsev / zserio-cpp17

New modern C++17 generator for Zserio
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Consider to use std::byte in the runtime library #22

Open mikir opened 2 months ago

mikir commented 2 months ago

From C++17, there is a std::byte that implements the concept of byte as specified in the C++ language definition.

We use uint8_t in the C++ runtime library, for example in the BitBuffer, BitStreamReader or BitStreamWriter. It seems that it will be better to use consistently std::byte instead. It will be necessary to check all sources in the runtime library because of that.