Commit 1bc1e8c6 authored by Terry J Myers's avatar Terry J Myers Committed by Me No Dev

Update WString.cpp (#1936)

parent 2132d9f8
......@@ -882,6 +882,12 @@ float String::toFloat(void) const
return 0;
}
double String::toDouble(void) const {
if (buffer) {
return atof(buffer);
}
return 0;
}
unsigned char String::equalsConstantTime(const String &s2) const {
// To avoid possible time-based attacks present function
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment