template<int Bytes, end Endianness = end::be>
okser::sint struct

Template parameters
Bytes The number of bytes in the binary representation of the integer
Endianness

Unsigned integer type Implemented using 2's complement

Base classes

class type

Public types

using DefaultType = std::make_signed_t<okser::internal::uint_bytes_to_type<Bytes>>

Public static functions

template<typename V, Output Out>
static void serialize(const V& v, Out&& o)
template<typename V, InputContext Context>
static auto deserialize(Context context) -> std::pair<okser::result<V>, Context>