Function fadroma::prelude::cosmwasm_storage::to_length_prefixed
source · [−]pub fn to_length_prefixed(namespace: &[u8]) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
Expand description
Calculates the raw key prefix for a given namespace as documented in https://github.com/webmaster128/key-namespacing#length-prefixed-keys