MCPcopy Create free account
hub / github.com/davisking/dlib / to_hex

Function to_hex

dlib/server/server_http.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 namespace http_impl
14 {
15 inline unsigned char to_hex( unsigned char x )
16 {
17 return x + (x > 9 ? ('A'-10) : '0');
18 }
19
20 const std::string urlencode( const std::string& s )
21 {

Callers 1

urlencodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected