MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / read

Method read

src/serialization/impl/file.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void read(void* dst, size_t size) override {
42 auto nr = fread(dst, 1, size, m_fptr);
43 mgb_assert(nr == size);
44 }
45
46 size_t tell() override { return std::ftell(m_fptr); }
47};

Callers 6

loadMethod · 0.45
is_fbs_v2_fileFunction · 0.45
loadMethod · 0.45
is_fbs_fileFunction · 0.45

Calls

no outgoing calls

Tested by 1