Corelink CPP Client
Corelink C++ client library
 
Loading...
Searching...
No Matches
system.hpp File Reference

Go to the source code of this file.

Classes

union  corelink::utils::system::_internals::pun< t, sz >
 

Namespaces

namespace  corelink
 
namespace  corelink::utils
 
namespace  corelink::utils::system
 
namespace  corelink::utils::system::_internals
 

Enumerations

enum class  corelink::utils::system::endianness { corelink::utils::system::big , corelink::utils::system::little , corelink::utils::system::unknown }
 Mark the endianness of data in the memory. More...
 

Functions

CORELINK_EXPORT endianness corelink::utils::system::sys_endianness ()
 
template<typename num_typ , size_t sz = sizeof(num_typ), endianness e = endianness::little>
CORELINK_EXPORT std::vector< uint8_t > corelink::utils::system::to_bytes (num_typ val)
 
template<typename num_typ , endianness e = endianness::little>
CORELINK_EXPORT num_typ corelink::utils::system::from_bytes (std::vector< uint8_t > bytes, num_typ default_val=num_typ())