Function sp_io::storage::append

source ·
pub fn append(key: &[u8], value: Vec<u8>)
Expand description

Append the encoded value to the storage item at key.

The storage item needs to implement EncodeAppend.

§Warning

If the storage item does not support EncodeAppend or something else fails at appending, the storage item will be set to [value].