GetInternalID returns the function's Internal ID associated with the given registry ID.
(registryID uint32)
| 95 | |
| 96 | // GetInternalID returns the function's Internal ID associated with the given registry ID. |
| 97 | func (r *functionRegistry) GetInternalID(registryID uint32) id.Function { |
| 98 | r.mutex.Lock() |
| 99 | defer r.mutex.Unlock() |
| 100 | return r.revMapping[registryID] |
| 101 | } |
| 102 | |
| 103 | // GetString returns the extracted function name from the function string associated with the given ID. |
| 104 | func (r *functionRegistry) GetString(id uint32) string { |