pub fn set(key: &[u8], value: &[u8])
Write a key value pair to the Offchain DB database in a buffered fashion.