diff -r db8299984bfe -r 6a842bd49fea src/cx/hash_key.h --- a/src/cx/hash_key.h Mon Dec 22 15:47:59 2025 +0100 +++ b/src/cx/hash_key.h Mon Dec 22 16:12:20 2025 +0100 @@ -236,6 +236,14 @@ cx_attr_nodiscard cx_attr_nonnull CX_EXPORT int cx_hash_key_cmp(const void *left, const void *right); +/** + * Interprets the key data as a string and returns it. + * + * @param key the key + * @return the key data as a string + */ +CX_EXPORT cxstring cx_hash_key_as_string(const CxHashKey *key); + #ifdef __cplusplus } // extern "C"