Android-cuttlefish cvd tool
Classes | Typedefs | Functions
cuttlefish::confui::support Namespace Reference

Classes

class  ByteBufferProxy
 
struct  choose_hton
 
struct  choose_hton< IntType, __ORDER_BIG_ENDIAN__ >
 
struct  choose_hton< IntType, __ORDER_LITTLE_ENDIAN__ >
 

Typedefs

using auth_token_key_t = std::array< std::uint8_t, 32 >
 
using hmac_t = auth_token_key_t
 

Functions

template<typename T >
auto bytes_cast (const T &v) -> const uint8_t(&)[sizeof(T)]
 
template<typename T >
auto bytes_cast (T &v) -> uint8_t(&)[sizeof(T)]
 
template<typename IntType >
IntType hton (const IntType &value)
 

Typedef Documentation

◆ auth_token_key_t

using cuttlefish::confui::support::auth_token_key_t = typedef std::array<std::uint8_t, 32>

◆ hmac_t

Function Documentation

◆ bytes_cast() [1/2]

template<typename T >
auto cuttlefish::confui::support::bytes_cast ( const T &  v) -> const uint8_t (&)[sizeof(T)]

◆ bytes_cast() [2/2]

template<typename T >
auto cuttlefish::confui::support::bytes_cast ( T &  v) -> uint8_t (&)[sizeof(T)]

◆ hton()

template<typename IntType >
IntType cuttlefish::confui::support::hton ( const IntType &  value)
inline