holoscan::config::ConfigCodec< std::string >
holoscan::config::ConfigCodec< std::string >
Provide the built-in owning UTF-8 string codec.
Static methods
decode
Decode and copy a UTF-8 string under the monotonic allocation budget.
Returns: The owning string or a structured type/budget/allocation failure.
Parameters
view
Semantic string to inspect.
context
Borrowed monotonic decode context.
encode
Encode and copy an owning UTF-8 string under the monotonic allocation budget.
Returns: The immutable string value or a structured UTF-8/budget/allocation failure.
Parameters
value
UTF-8 string to encode.
context
Borrowed monotonic encode context.