Developer documentation
Version 3.0.3-105-gd3941f44
MR::Raw Namespace Reference

Functions

template<typename ValueType >
ValueType fetch_LE (const void *address)
 
template<typename ValueType >
ValueType fetch_BE (const void *address)
 
template<typename ValueType >
ValueType fetch_ (const void *address, bool is_big_endian=false)
 
template<typename ValueType >
ValueType fetch__native (const void *address)
 
template<typename ValueType >
void store_LE (const ValueType value, void *address)
 
template<typename ValueType >
void store_BE (const ValueType value, void *address)
 
template<typename ValueType >
void store (const ValueType value, void *address, bool is_big_endian=false)
 
template<typename ValueType >
void store_native (const ValueType value, void *address)
 
template<typename ValueType >
ValueType fetch_LE (const void *data, size_t i)
 fetch value in little-endian format from offset i from data More...
 
template<typename ValueType >
ValueType fetch_BE (const void *data, size_t i)
 fetch value in big-endian format from offset i from data More...
 
template<typename ValueType >
ValueType fetch (const void *data, size_t i, bool is_big_endian=false)
 fetch value in format is_big_endian from offset i from data More...
 
template<typename ValueType >
ValueType fetch_native (const void *data, size_t i)
 fetch value in native format from offset i from data More...
 
template<typename ValueType >
void store_LE (const ValueType value, void *data, size_t i)
 store value in little-endian format at offset i from data More...
 
template<typename ValueType >
void store_BE (const ValueType value, void *data, size_t i)
 store value in big-endian format at offset i from data More...
 
template<typename ValueType >
void store (const ValueType value, void *data, size_t i, bool is_big_endian=false)
 store value in format is_big_endian at offset i from data More...
 
template<typename ValueType >
void store_native (const ValueType value, void *data, size_t i)
 store value in native format at offset i from data More...
 

Function Documentation

◆ fetch()

template<typename ValueType >
ValueType MR::Raw::fetch ( const void *  data,
size_t  i,
bool  is_big_endian = false 
)
inline

fetch value in format is_big_endian from offset i from data

Definition at line 147 of file raw.h.

◆ fetch_()

template<typename ValueType >
ValueType MR::Raw::fetch_ ( const void *  address,
bool  is_big_endian = false 
)
inline

Definition at line 117 of file raw.h.

◆ fetch__native()

template<typename ValueType >
ValueType MR::Raw::fetch__native ( const void *  address)
inline

Definition at line 120 of file raw.h.

◆ fetch_BE() [1/2]

template<typename ValueType >
ValueType MR::Raw::fetch_BE ( const void *  address)
inline

Definition at line 114 of file raw.h.

◆ fetch_BE() [2/2]

template<typename ValueType >
ValueType MR::Raw::fetch_BE ( const void *  data,
size_t  i 
)
inline

fetch value in big-endian format from offset i from data

Definition at line 143 of file raw.h.

◆ fetch_LE() [1/2]

template<typename ValueType >
ValueType MR::Raw::fetch_LE ( const void *  address)
inline

Definition at line 111 of file raw.h.

◆ fetch_LE() [2/2]

template<typename ValueType >
ValueType MR::Raw::fetch_LE ( const void *  data,
size_t  i 
)
inline

fetch value in little-endian format from offset i from data

Definition at line 139 of file raw.h.

◆ fetch_native()

template<typename ValueType >
ValueType MR::Raw::fetch_native ( const void *  data,
size_t  i 
)
inline

fetch value in native format from offset i from data

Definition at line 151 of file raw.h.

◆ store() [1/2]

template<typename ValueType >
void MR::Raw::store ( const ValueType  value,
void *  address,
bool  is_big_endian = false 
)
inline

Definition at line 130 of file raw.h.

◆ store() [2/2]

template<typename ValueType >
void MR::Raw::store ( const ValueType  value,
void *  data,
size_t  i,
bool  is_big_endian = false 
)
inline

store value in format is_big_endian at offset i from data

Definition at line 165 of file raw.h.

◆ store_BE() [1/2]

template<typename ValueType >
void MR::Raw::store_BE ( const ValueType  value,
void *  address 
)
inline

Definition at line 127 of file raw.h.

◆ store_BE() [2/2]

template<typename ValueType >
void MR::Raw::store_BE ( const ValueType  value,
void *  data,
size_t  i 
)
inline

store value in big-endian format at offset i from data

Definition at line 161 of file raw.h.

◆ store_LE() [1/2]

template<typename ValueType >
void MR::Raw::store_LE ( const ValueType  value,
void *  address 
)
inline

Definition at line 124 of file raw.h.

◆ store_LE() [2/2]

template<typename ValueType >
void MR::Raw::store_LE ( const ValueType  value,
void *  data,
size_t  i 
)
inline

store value in little-endian format at offset i from data

Definition at line 157 of file raw.h.

◆ store_native() [1/2]

template<typename ValueType >
void MR::Raw::store_native ( const ValueType  value,
void *  address 
)
inline

Definition at line 133 of file raw.h.

◆ store_native() [2/2]

template<typename ValueType >
void MR::Raw::store_native ( const ValueType  value,
void *  data,
size_t  i 
)
inline

store value in native format at offset i from data

Definition at line 169 of file raw.h.