s respecting the constraints above.uriTemplateApplyPrefix
private fn
string uriTemplateApplyPrefix(string s, uint maxLen) @safeApply the RFC 6570 prefix modifier to s.
The prefix length is measured in Unicode characters, with the additional constraint that the result must not split a %HH triplet if the input contains percent-encoded sequences.
Parameters
s | Input string. |
maxLen | Maximum length in characters. |
Returns
The prefix of