mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
Xml_node::Attribute::value_size accessor
This commit is contained in:
parent
a60966150e
commit
99979e09ed
@ -120,6 +120,11 @@ namespace Genode {
|
||||
return strlen(type) == _name.len() &&
|
||||
strcmp(type, _name.start(), _name.len()) == 0; }
|
||||
|
||||
/**
|
||||
* Return size of value
|
||||
*/
|
||||
size_t value_size() const { return _value.len(); }
|
||||
|
||||
/**
|
||||
* Return attribute value as null-terminated string
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user