MCPcopy Create free account
hub / github.com/activeloopai/deeplake / write_pod

Function write_pod

cpp/nd/impl/serialize.hpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16template <typename T>
17inline void write_pod(std::ostream& s, const T& v)
18{
19 s.write(reinterpret_cast<const char*>(&v), sizeof(T));
20}
21
22template <typename T>
23inline void read_pod(std::istream& s, T& v)

Callers 1

write_containerFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected