MCPcopy Create free account
hub / github.com/mininet/mininet / decode

Function decode

mininet/util.py:42–44  ·  view source on GitHub ↗

Decode buffer for Python 3

( buf )

Source from the content-addressed store, hash-verified

40
41if Python3:
42 def decode( buf ):
43 "Decode buffer for Python 3"
44 return buf.decode( Encoding )
45
46 def encode( buf ):
47 "Encode buffer for Python 3"

Callers 6

pexecMethod · 0.90
shFunction · 0.90
rcmdMethod · 0.90
makeTunnelMethod · 0.90
bwtestFunction · 0.90
monitorFilesFunction · 0.90

Calls 1

decodeMethod · 0.80

Tested by

no test coverage detected