mirror of
https://github.com/lux-tel/libsession-util.git
synced 2026-10-30 20:25:11 +00:00
- `session::ustring` is a typedef to a `std::basic_string<unsigned char>` - `session::ustring_view` is a typedef to a `std::basic_string_view<unsigned char>` - For the C API, binary types now become `unsigned char*` (and similar) instead of `char*`.
19 lines
310 B
C++
19 lines
310 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
namespace session {
|
|
|
|
using ustring = std::basic_string<unsigned char>;
|
|
using ustring_view = std::basic_string_view<unsigned char>;
|
|
|
|
namespace config {
|
|
|
|
using seqno_t = std::int64_t;
|
|
|
|
} // namespace config
|
|
|
|
} // namespace session
|