Like RedisModule_LoadString() but returns an heap allocated string that * was allocated with RedisModule_Alloc(), and can be resized or freed with * RedisModule_Realloc() or RedisModule_Free(). * * The size of the string is stored at '*lenptr' if not NULL. * The returned string is not automatically NULL terminated, it is loaded * exactly as it was stored inside the RDB file. */
| 4773 | * The returned string is not automatically NULL terminated, it is loaded |
| 4774 | * exactly as it was stored inside the RDB file. */ |
| 4775 | char *RM_LoadStringBuffer(RedisModuleIO *io, size_t *lenptr) { |
| 4776 | return moduleLoadString(io,1,lenptr); |
| 4777 | } |
| 4778 | |
| 4779 | /* In the context of the rdb_save method of a module data type, saves a double |
| 4780 | * value to the RDB file. The double can be a valid number, a NaN or infinity. |
no test coverage detected