(scope: StorageScope, key: &str, text: &str)
| 29 | } |
| 30 | |
| 31 | pub fn save_string(scope: StorageScope, key: &str, text: &str) -> io::Result<()> { |
| 32 | save_bytes(scope, key, text.as_bytes()) |
| 33 | } |
| 34 | |
| 35 | pub fn load_local_bytes(key: &str) -> io::Result<Option<Vec<u8>>> { |
| 36 | load_bytes(StorageScope::Local, key) |
no test coverage detected