Go to the source code of this file.
|
template<typename float_t > |
static void | _readFloat (float_t &out, const uint8_t *&ptr, size_t &remaining) |
|
template<typename int_t > |
void | _readInt (int_t &out, const uint8_t *&ptr, size_t &remaining) |
|
static const char * | _readString (const uint8_t *&ptr, size_t &remaining) |
|
static bool | is_valid_bps (t_int64 val) |
|
static bool | is_valid_field_name_char (char p_char) |
|
template<typename float_t >
static void _readFloat |
( |
float_t & |
out, |
|
|
const uint8_t *& |
ptr, |
|
|
size_t & |
remaining |
|
) |
| |
|
static |
Definition at line 663 of file file_info.cpp.
void _readInt(int_t &out, const uint8_t *&ptr, size_t &remaining)
template<typename int_t >
void _readInt |
( |
int_t & |
out, |
|
|
const uint8_t *& |
ptr, |
|
|
size_t & |
remaining |
|
) |
| |
Definition at line 658 of file file_info.cpp.
659 if (remaining <
sizeof(out))
throw exception_io_data();
void decode_little_endian(TInt &p_out, const t_uint8 *p_buffer)
static const char* _readString |
( |
const uint8_t *& |
ptr, |
|
|
size_t & |
remaining |
|
) |
| |
|
static |
Definition at line 648 of file file_info.cpp.
649 const char * rv = (
const char*)ptr;
651 if (remaining == 0)
throw exception_io_data();
652 uint8_t
byte = *ptr++; --remaining;
653 if (byte == 0)
break;
static bool is_valid_bps |
( |
t_int64 |
val | ) |
|
|
static |
static bool is_valid_field_name_char |
( |
char |
p_char | ) |
|
|
static |
Definition at line 494 of file file_info.cpp.
495 return p_char >= 32 && p_char < 127 && p_char != '=' && p_char != '%' && p_char != '<' && p_char != '>
';