StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
StormByte Namespace Reference

Root namespace of the StormByte suite. More...

Namespaces

namespace  Detail
 Serialization implementation details of the StormByte suite.
namespace  Error
namespace  Safe
namespace  Test
namespace  Type
namespace  Buffer
namespace  Crypto
namespace  Logger
namespace  System
namespace  Network
 Network module of the StormByte suite.

Classes

class  ByteSize
class  Exception
class  Clock
class  ThreadLock
class  Telemetry
class  Base64Error
class  Bitmask
class  DeserializeError
class  OperationError
class  Serializable
class  Size

Typedefs

typedef std::conditional_t< Type::Reference< T >, std::expected< std::reference_wrapper< std::remove_reference_t< T > >, Safe::Shared< E > >, std::expected< T, Safe::Shared< E > > > Expected

Functions

Safe::Binary Base64Decode (std::string_view input)
Safe::String Base64Encode (const Safe::Binary &input)
Safe::String Base64Encode (std::span< const std::byte > input)
constexpr bool operator== (ByteSize lhs, T rhs)
constexpr bool operator== (T lhs, ByteSize rhs)
constexpr ByteSize operator+ (ByteSize lhs, T rhs)
constexpr ByteSize operator+ (T lhs, ByteSize rhs)
constexpr ByteSize operator- (ByteSize lhs, T rhs)
constexpr ByteSize operator- (T lhs, ByteSize rhs)
constexpr ByteSize operator* (ByteSize lhs, T rhs)
constexpr ByteSize operator* (T lhs, ByteSize rhs)
constexpr ByteSize operator/ (ByteSize lhs, T rhs)
constexpr ByteSize operator% (ByteSize lhs, T rhs)
std::ostream & operator<< (std::ostream &stream, ByteSize size)
auto Unexpected (Safe::Shared< E > error)
auto Unexpected (std::shared_ptr< E >)=delete
auto Unexpected (E &&error)
auto Unexpected (Derived &&error) -> std::unexpected< Safe::Shared< Base > >
auto Unexpected (const std::string &fmt, Args &&... args)
void append_bytes (Safe::Binary &dest, std::span< const std::byte > src) noexcept
void append_bytes (Safe::Binary &dest, const Safe::Binary &src) noexcept
void append_bytes (Safe::Binary &dest, Safe::Binary &&src) noexcept
constexpr bool operator== (Size lhs, T rhs)
constexpr bool operator== (T lhs, Size rhs)
constexpr Size operator+ (Size lhs, T rhs)
constexpr Size operator+ (T lhs, Size rhs)
constexpr Size operator- (Size lhs, T rhs)
constexpr Size operator- (T lhs, Size rhs)
constexpr Size operator* (Size lhs, T rhs)
constexpr Size operator* (T lhs, Size rhs)
constexpr Size operator/ (Size lhs, T rhs)
constexpr Size operator/ (T lhs, Size rhs)
constexpr Size operator% (Size lhs, T rhs)
constexpr Size operator% (T lhs, Size rhs)
std::ostream & operator<< (std::ostream &stream, Size size)
Safe::String GenerateUUIDv4 () noexcept

Variables

constexpr ByteSize B
constexpr ByteSize KiB
constexpr ByteSize MiB
constexpr ByteSize GiB
constexpr ByteSize TiB
constexpr ByteSize PiB
constexpr ByteSize EiB
constexpr ByteSize KB
constexpr ByteSize MB
constexpr ByteSize GB
constexpr ByteSize TB
constexpr ByteSize PB
constexpr ByteSize EB

Detailed Description

Root namespace of the StormByte suite.