DoxigAlpha

getPtr

Find the address of the value associated with a key. The returned pointer is invalidated if the map resizes.

Function parameters

Parameters

#
key:[]const u8

BufMap copies keys and values before they go into the map and

Types

#
BufMap
BufMap copies keys and values before they go into the map and

Source

Implementation

#
pub fn getPtr(self: BufMap, key: []const u8) ?*[]const u8 {
    return self.hash_map.getPtr(key);
}