|
StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
|
Codec specialization for std::wstring.
More...
#include <StormByte/serializable.hxx>
Static Public Member Functions | |
| static std::size_t | Size (const std::wstring &data) noexcept |
| static std::vector< std::byte > | Write (const std::wstring &data) noexcept |
| static Expected< std::wstring, DeserializeError > | Read (std::span< const std::byte > data) noexcept |
Codec specialization for std::wstring.
Wire: uint64 UTF-8 byte count (LE) + UTF-8 payload. Host wchar_t width (2 on Windows, 4 on POSIX) never appears on the wire.
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |