pub fn new(id: Vec<u8>) -> Self {
        let key_index_prefix = append(&id, b'i');
        let index_key_id = append(&id, b'k');
        let index_value_id = append(&id, b'v');

        Self {
            key_index_prefix,
            keys: Vector::new(index_key_id),
            values: Vector::new(index_value_id),
        }
    }
/// Create new map with zero elements. Use `id` as a unique identifier.
Create new map with zero elements. Use `id` as a unique identifier.
Create new map with zero elements . Use ` id ` as a unique identifier .
pub fn new(id: Vec<u8>) -> Self {
        let key_index_prefix = append(&id, b'i');
        let index_key_id = append(&id, b'k');
        let index_value_id = append(&id, b'v');
        Self {
            key_index_prefix,
            keys: Vector::new(index_key_id),
            values: Vector::new(index_value_id),
        }
    }
pub fn new ( id : Vec < u8 > ) -> Self { let key_index_prefix = append ( & id , b'i' ) ; let index_key_id = append ( & id , b'k' ) ; let index_value_id = append ( & id , b'v' ) ; Self { key_index_prefix , keys : Vector :: new ( index_key_id ) , values : Vector :: new ( index_value_id ) , } }
Create new map with zero elements.
Create new map with zero elements .
id
Vec<u8>