static bool tryParse(const std::string &s, T &f)
return true if parsing has been successful result ill be in i
Definition: Utilities.hpp:38
bool getString(Message< RFCCodes > &m, std::string &str, std::pair< uint8_t, uint8_t > minMaxSize)
get a string from a message the data layout of the message must be uint8 string_length and the string
Definition: Utilities.hpp:15
static Message< T > & GetBytes(Message< T > &msg, DataType &data, uint64_t size)
Get size bytes from the message and put it in data, useful for strings (no compile time size)
Definition: Message.hpp:88