pub fn BytestringSet(
key: &StorageKeyContractData,
bytestring: &[u8],
) -> Result<(), SysErr>Expand description
Sets the bytestring value at the specified storage key. Note that this will overwrite any existing value at that key, even if that value has a different type.
§Arguments
keybytestring
This is a convenience wrapper around uninit_BytestringSet that returns the result as SyscallResult<T>.
§Errors
- kSyscallErrorCodeInvalidSyscallInput: The bytestring is too long.