|
auth 0.0.1
Authenticated computation with C++26 modules
|
Exported Modules | |
| module | auth.error |
Classes | |
| struct | auth::writer |
| Appends deterministic, byte-aligned fields to an owned buffer. More... | |
| struct | auth::reader |
| Reads checked fields from borrowed bytes, advancing a byte offset. More... | |
Typedefs | |
| using | auth::bytes = std::vector<std::uint8_t> |
| An owned buffer of serialized bytes. | |
Functions | |
| template<class T> | |
| bytes | auth::encode (const T &value) |
| Serializes a value to an owned byte buffer. | |
| template<class T> | |
| std::pair< T, const std::uint8_t * > | auth::decode (std::span< const std::uint8_t > data) |
| Decodes one value, leaving subsequent bytes for the caller. | |
Files | |
| file | src/auth/serialization.ccm |
| Checked binary serialization with one definition for reading and writing. | |