|
group2 0.1.0
CSE 125 Group 2
|
Classes | |
| struct | ClientTextChat |
| struct | ServerTextChat |
Functions | |
| bool | isValidUtf8 (std::string_view text) noexcept |
| std::string | sanitizeUtf8 (std::string_view text) |
| std::vector< std::uint8_t > | encodeClientText (std::uint16_t clientSeq, std::string_view text) |
| std::vector< std::uint8_t > | encodeServerText (ClientId sender, std::uint32_t serverSeq, std::string_view text) |
| std::optional< ClientTextChat > | decodeClientText (std::span< const std::uint8_t > payload) |
| std::optional< ServerTextChat > | decodeServerText (std::span< const std::uint8_t > payload) |
Variables | |
| constexpr std::uint16_t | k_maxChatBytes = 240 |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardnoexcept |
|
nodiscard |
|
inlineconstexpr |