31 #ifndef OPENVDB_UTIL_NAME_HAS_BEEN_INCLUDED
32 #define OPENVDB_UTIL_NAME_HAS_BEEN_INCLUDED
34 #include <openvdb/Platform.h>
35 #include <openvdb/version.h>
50 is.read(reinterpret_cast<char*>(&size),
sizeof(uint32_t));
51 std::string buffer(size,
' ');
52 is.read(&buffer[0], size);
60 uint32_t size = uint32_t(name.size());
61 os.write(reinterpret_cast<char*>(&size),
sizeof(uint32_t));
62 os.write(&name[0], size);
68 #endif // OPENVDB_UTIL_NAME_HAS_BEEN_INCLUDED