
4 Dec
2024
4 Dec
'24
1:35 p.m.
There has been some discussion about this and the consensus is that
`uint8_t` is a better option than `std::byte` as the former represents a
determinate number of bytes (
https://isocpp.org/wiki/faq/intrinsic-types#bits-per-byte). So `span<const
uint8_t>, and `span
On Wed, Dec 4, 2024 at 2:09 AM Claudio DeSouza via Boost
wrote: function that takes a pair of void*/size_t should be a span
or rather `std::span<[const ]std::byte>`. --DD
https://en.cppreference.com/w/cpp/types/byte https://en.cppreference.com/w/cpp/container/span/as_bytes