Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BYVoid/OpenCC
/ SerializeToFile
Method
SerializeToFile
src/TextDict.cpp:91–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
LexiconPtr TextDict::GetLexicon() const { return lexicon; }
90
91
void TextDict::SerializeToFile(FILE* fp) const {
92
for (const auto& entry : *lexicon) {
93
fprintf(fp,
"%s\n"
, entry->ToString().c_str());
94
}
95
}
Callers
3
TEST_F
Function · 0.45
ConvertDictionary
Function · 0.45
WriteOcd2
Function · 0.45
Calls
1
ToString
Method · 0.45
Tested by
1
TEST_F
Function · 0.36