Monero
Functions
io.h File Reference
#include <cstddef>
#include <ios>
#include <iostream>
#include <type_traits>
#include <vector>
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool hexdecode (const char *from, std::size_t length, void *to)
 
void get (std::istream &input, bool &res)
 
template<typename T >
std::enable_if< std::is_integral< T >::value, void >::type get (std::istream &input, T &res)
 
void getvar (std::istream &input, std::size_t length, void *res)
 
template<typename T >
std::enable_if< std::is_standard_layout< T >::value &&!std::is_scalar< T >::value, void >::type get (std::istream &input, T &res)
 
void get (std::istream &input, std::vector< char > &res)
 
template<typename T , typename... TT>
std::enable_if<(sizeof...(TT) > 0), void >::type get (std::istream &input, T &res, TT &... resres)
 

Function Documentation

◆ get() [1/5]

void get ( std::istream &  input,
bool res 
)
inline

◆ get() [2/5]

template<typename T >
std::enable_if<std::is_integral<T>::value, void>::type get ( std::istream &  input,
T res 
)

◆ get() [3/5]

template<typename T >
std::enable_if<std::is_standard_layout<T>::value && !std::is_scalar<T>::value, void>::type get ( std::istream &  input,
T res 
)

◆ get() [4/5]

void get ( std::istream &  input,
std::vector< char > &  res 
)
inline

◆ get() [5/5]

template<typename T , typename... TT>
std::enable_if<(sizeof...(TT) > 0), void>::type get ( std::istream &  input,
T res,
TT &...  resres 
)

◆ getvar()

void getvar ( std::istream &  input,
std::size_t  length,
void *  res 
)
inline

◆ hexdecode()

bool hexdecode ( const char *  from,
std::size_t  length,
void *  to 
)
inline