commit | 6653b0b783ac58a5dd9195b8079f4c19c4fa701c | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Sep 23 12:32:39 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Sep 23 12:32:39 2013 -0700 |
tree | 928ee280a8d0416a9254886563cf8f55f83e4ad0 | |
parent | 6c146d797e7f2690bfba5206c1a45791b416ddb6 [diff] [blame] |
Name: Added toEscapedString to Component.
diff --git a/ndn-cpp/name.cpp b/ndn-cpp/name.cpp index 86cb843..11d284c 100644 --- a/ndn-cpp/name.cpp +++ b/ndn-cpp/name.cpp
@@ -301,4 +301,12 @@ } } +string +Name::toEscapedString(const vector<unsigned char>& value) +{ + ostringstream result; + toEscapedString(value, result); + return result.str(); +} + }