See RaylibTempUtils.strnlen.
int strnlen(MemoryPointer ptr, int maxLen) => Temp.Utils.strnlen(ptr, maxLen);