KV().WriteRaw#
-
static inline void YR::KVManager::WriteRaw(const std::string &key, const char *value)#
Writes the value (raw bytes) of a key.
- Parameters:
key – [in] A key used to identify the stored data. Must not be empty. Valid characters must match the regular expression:
^[a-zA-Z0-9\~\.\-\/_!@#%\^\&\*\(\)\+\=\:;]*$.value – [in] Raw binary data to be stored in the data system.
- Throws:
1001: Parameter error. Detailed error information will be provided.
4206: Key already exists. If existence is set to
YR::ExistenceOpt::NXand one or more keys in the list have been previously set or written.Other exceptions may be thrown due to errors during the
Setoperation, with detailed descriptions provided in the error message.