String formatting wrapper for fixed-width hexadecimal integers. More...
#include <sifteo/string.h>
Public Member Functions | |
Hex (uint32_t value, unsigned width=8, bool leadingZeroes=true) | |
Format 'value' using exactly 'width' characters. More... | |
String formatting wrapper for fixed-width hexadecimal integers.
This is a type which can be used with String's << operator, to format integers in hexadecimal, with a fixed field width.
|
inline |
Format 'value' using exactly 'width' characters.
If 'leadingZeroes', extra leading characters will be '0', otherwise they will be spaces.
Sifteo SDK v1.1.0 (see all versions)
Last updated Tue Dec 23 2014, by Doxygen