MCPcopy Create free account
hub / github.com/alibaba/yalantinglibs / fread_stream

Method fread_stream

src/struct_pack/examples/basic_usage.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 return ftell(file);
47 }
48 fread_stream(const char* file_name) : file(fopen(file_name, "rb")) {}
49 ~fread_stream() { fclose(file); }
50};
51

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected