llarp/util/types.hpp
Namespaces
| Name |
|---|
| llarp [crypto.hpp] |
Types
| Name | |
|---|---|
| using uint8_t | byte_t |
| using std::uint8_t | llarp_proto_version_t |
| using llarp::Duration_t | llarp_time_t |
Types Documentation
using byte_t
using byte_t = uint8_t;
using llarp_proto_version_t
using llarp_proto_version_t = std::uint8_t;
using llarp_time_t
using llarp_time_t = llarp::Duration_t;
Source code
#pragma once
#include <cstdint>
#include <string>
#include <chrono>
using byte_t = uint8_t;
using llarp_proto_version_t = std::uint8_t;
namespace llarp
{
using Duration_t = std::chrono::milliseconds;
using namespace std::literals;
uint64_t
ToMS(Duration_t duration);
using DateClock_t = std::chrono::system_clock;
using TimePoint_t = DateClock_t::time_point;
} // namespace llarp
using llarp_time_t = llarp::Duration_t;
Updated on 2026-01-10 at 22:49:46 +0000