Function getPtr [src]

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

Prototype

pub fn getPtr(self: BufMap, key: []const u8) ?*[]const u8

Parameters

self: BufMapkey: []const u8

Source

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