mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user