In the context of the rdb_load method of a module data type, loads a string * from the RDB file, that was previously saved with RedisModule_SaveString() * functions family. * * The returned string is a newly allocated RedisModuleString object, and * the user should at some point free it with a call to RedisModule_FreeString(). * * If the data structure does not store strings as RedisModuleS
| 4869 | * If the data structure does not store strings as RedisModuleString objects, |
| 4870 | * the similar function RedisModule_LoadStringBuffer() could be used instead. */ |
| 4871 | RedisModuleString *RM_LoadString(RedisModuleIO *io) { |
| 4872 | return (RedisModuleString*)moduleLoadString(io,0,NULL); |
| 4873 | } |
| 4874 | |
| 4875 | /* Like RedisModule_LoadString() but returns an heap allocated string that |
| 4876 | * was allocated with RedisModule_Alloc(), and can be resized or freed with |
nothing calls this directly
no test coverage detected