8 #include <hilti/rt/extension-points.h> 9 #include <hilti/rt/types/bytes.h> 10 #include <hilti/rt/types/stream.h> 11 #include <hilti/rt/util.h> 17 enum class Type { Undef, IEEE754_Single, IEEE754_Double };
20 extern Result<std::tuple<double, Bytes>> unpack(
const Bytes& data, Type type,
ByteOrder fmt);
23 extern Result<std::tuple<double, stream::View>> unpack(
const stream::View& data, Type type,
ByteOrder fmt);
27 namespace detail::adl {
29 std::string
to_string(
const real::Type& x, tag );
ByteOrder
Definition: util.h:515
std::string to_string(T &&x)
Definition: extension-points.h:26
std::string fmt(const char *fmt, const Args &... args)
Definition: fmt.h:13