Looks up the index of a code in the enum (ie code is the nth code in the enum). This can be useful if the actual enum codes are not consecutive.
code to get index for
pointer to code's index, or null if code not in enum
See Implementation
Looks up the index of a code in the enum (ie code is the nth code in the enum). This can be useful if the actual enum codes are not consecutive.