Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
parse_si_iec_units.cpp File Reference
#include <tlx/string/parse_si_iec_units.hpp>
#include <cstdlib>
+ Include dependency graph for parse_si_iec_units.cpp:

Go to the source code of this file.

Namespaces

 tlx
 

Functions

bool parse_si_iec_units (const char *str, uint64_t *out_size, char default_unit=0)
 Parse a string like "343KB" or "44 GiB" into the corresponding size in bytes. More...
 
bool parse_si_iec_units (const std::string &str, uint64_t *out_size, char default_unit=0)
 Parse a string like "343KB" or "44 GiB" into the corresponding size in bytes. More...