Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/yalantinglibs
/ fwrite_stream
Method
fwrite_stream
src/struct_pack/examples/basic_usage.cpp:34–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
return fwrite(data, sz, 1, file) == 1;
33
}
34
fwrite_stream(const char* file_name) : file(fopen(file_name,
"wb"
)) {}
35
~fwrite_stream() { fclose(file); }
36
};
37
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected