pub fn name_to_uri(name: &Name) -> String
Convert a Name to its NDN URI representation.
Name
Component bytes that are not URI-safe (alphanumeric, -, ., _, ~) are percent-encoded as %XX.
-
.
_
~
%XX