Kagome
Polkadot Runtime Engine in C++17
kagome::common::literals Namespace Reference

Functions

Buffer operator""_buf (const char *c, size_t s)
 
Buffer operator""_hex2buf (const char *c, size_t s)
 
constexpr size_t operator""_kB (long long unsigned int kilobytes)
 
constexpr size_t operator""_kB (long double kilobytes)
 
constexpr size_t operator""_MB (long long unsigned int megabytes)
 
constexpr size_t operator""_MB (long double megabytes)
 
constexpr size_t operator""_GB (long long unsigned int gigabytes)
 
constexpr size_t operator""_GB (long double gigabytes)
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Function Documentation

Buffer kagome::common::literals::operator""_buf ( const char *  c,
size_t  s 
)
inline

creates a buffer filled with characters from the original string mind that it does not perform unhexing, there is ""_unhex for it

Definition at line 254 of file buffer.hpp.

constexpr size_t kagome::common::literals::operator""_GB ( long long unsigned int  gigabytes)

Definition at line 27 of file literals.hpp.

constexpr size_t kagome::common::literals::operator""_GB ( long double  gigabytes)

Definition at line 31 of file literals.hpp.

Buffer kagome::common::literals::operator""_hex2buf ( const char *  c,
size_t  s 
)
inline

Definition at line 261 of file buffer.hpp.

constexpr size_t kagome::common::literals::operator""_kB ( long long unsigned int  kilobytes)

Definition at line 11 of file literals.hpp.

constexpr size_t kagome::common::literals::operator""_kB ( long double  kilobytes)

Definition at line 15 of file literals.hpp.

constexpr size_t kagome::common::literals::operator""_MB ( long long unsigned int  megabytes)

Definition at line 19 of file literals.hpp.

constexpr size_t kagome::common::literals::operator""_MB ( long double  megabytes)

Definition at line 23 of file literals.hpp.