Prefer std::byte to std::uint8_t in persistency

The following discussion from !3268 (merged) should be addressed:

  • @chasse started a discussion: (+2 comments)

    There is also std::byte which would probably be a safer choice if all this buffer is supposed to represent is a buffer of uninterpreted bytes.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information