mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-23 02:34:08 +00:00
parent
48bc69b14b
commit
2bd163533b
@ -342,6 +342,17 @@ namespace Genode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Read unsigned char value from string
|
||||||
|
*
|
||||||
|
* \return number of consumed characters
|
||||||
|
*/
|
||||||
|
inline size_t ascii_to(const char *s, unsigned char &result)
|
||||||
|
{
|
||||||
|
return ascii_to_unsigned(s, result, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read unsigned short value from string
|
* Read unsigned short value from string
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user