MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / rdbSaveType

Function rdbSaveType

src/rdb.cpp:108–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108int rdbSaveType(rio *rdb, unsigned char type) {
109 return rdbWriteRaw(rdb,&type,1);
110}
111
112/* Load a "type" in RDB format, that is a one byte unsigned integer.
113 * This function is not only used to load object types, but also special

Callers 5

rdbSaveObjectTypeFunction · 0.85
rdbSaveAuxFieldFunction · 0.85
rdbSaveKeyValuePairFunction · 0.85
rdbSaveSingleModuleAuxFunction · 0.85
rdbSaveRioFunction · 0.85

Calls 1

rdbWriteRawFunction · 0.85

Tested by

no test coverage detected