mirror of https://github.com/bsnes-emu/bsnes.git
22 lines
310 B
C++
22 lines
310 B
C++
#pragma once
|
|
|
|
namespace nall {
|
|
|
|
auto string::integer() const -> intmax {
|
|
return toInteger(data());
|
|
}
|
|
|
|
auto string::natural() const -> uintmax {
|
|
return toNatural(data());
|
|
}
|
|
|
|
auto string::hex() const -> uintmax {
|
|
return toHex(data());
|
|
}
|
|
|
|
auto string::real() const -> double {
|
|
return toReal(data());
|
|
}
|
|
|
|
}
|