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
| 4762 | * If the data structure does not store strings as RedisModuleString objects, |
| 4763 | * the similar function RedisModule_LoadStringBuffer() could be used instead. */ |
| 4764 | RedisModuleString *RM_LoadString(RedisModuleIO *io) { |
| 4765 | return moduleLoadString(io,0,NULL); |
| 4766 | } |
| 4767 | |
| 4768 | /* Like RedisModule_LoadString() but returns an heap allocated string that |
| 4769 | * was allocated with RedisModule_Alloc(), and can be resized or freed with |
nothing calls this directly
no test coverage detected