11 #ifndef TLX_STRING_PARSE_SI_IEC_UNITS_HEADER 12 #define TLX_STRING_PARSE_SI_IEC_UNITS_HEADER 28 const char* str, uint64_t* out_size,
char default_unit = 0);
37 const std::string& str, uint64_t* out_size,
char default_unit = 0);
43 #endif // !TLX_STRING_PARSE_SI_IEC_UNITS_HEADER
bool parse_si_iec_units(const char *str, uint64_t *out_size, char default_unit)
Parse a string like "343KB" or "44 GiB" into the corresponding size in bytes.
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking