v1.1.0
|
String formatting classes. More...
Classes | |
struct | Sifteo::Fixed |
String formatting wrapper for fixed-width integers. More... | |
struct | Sifteo::FixedFP |
Format a floating point number using fixed precision. More... | |
struct | Sifteo::Hex |
String formatting wrapper for fixed-width hexadecimal integers. More... | |
struct | Sifteo::Hex64 |
String formatting wrapper for fixed-width hexadecimal 64-bit integers. More... | |
class | Sifteo::String< tCapacity > |
A statically sized character buffer, with output formatting support. More... | |
Functions | |
int | Sifteo::strncmp (const char *a, const char *b, unsigned count) |
Compare two C-style strings. More... | |
unsigned | Sifteo::strnlen (const char *str, uint32_t maxLen) |
Get the length of a C-style string. More... | |
String formatting classes.
|
inline |
Compare two C-style strings.
Returns a number less than, equal to, or greater than zero, corresponding to a < b, a==b, and a > b respectively.
The number returned is equal to the difference (a[i] - b[i]) where i is the index of the first non-matching character.
|
inline |
Get the length of a C-style string.
'maxLen' is required to limit the search for the end of the string. This routine will fault if 'maxLen' extends beyond valid memory.
Sifteo SDK v1.1.0 (see all versions)
Last updated Tue Dec 23 2014, by Doxygen