MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / touni

Function touni

thirdparty/bottle/bottle.py:144–147  ·  view source on GitHub ↗
(s, enc='utf8', err='strict')

Source from the content-addressed store, hash-verified

142
143
144def touni(s, enc='utf8', err='strict'):
145 if isinstance(s, bytes):
146 return s.decode(enc, err)
147 return unicode("" if s is None else s)
148
149
150tonat = touni if py3k else tob

Callers 6

bottle.pyFile · 0.85
set_cookieMethod · 0.85
parse_authFunction · 0.85
prepareMethod · 0.85
codeMethod · 0.85
__init__Method · 0.85

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…