code: private static RecordType typeFromChar(char recChar) {
          for (int i=0; i < numRecChars; i++) {
              if (recordChars[i] == recChar) {
                  return recordTypes[i];
              }
          }
          
          throw new BitsyException(BitsyErrorCodes.INTERNAL_ERROR, "Unrecognized record type " + recChar);
      }
docs: Faster than RecordType.valueof()