[][src]Function cosmwasm_storage::to_length_prefixed

pub fn to_length_prefixed(namespace: &[u8]) -> Vec<u8>

Calculates the raw key prefix for a given namespace as documented in https://github.com/webmaster128/key-namespacing#length-prefixed-keys