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

Function encode

mininet/util.py:46–48  ·  view source on GitHub ↗

Encode buffer for Python 3

( buf )

Source from the content-addressed store, hash-verified

44 return buf.decode( Encoding )
45
46 def encode( buf ):
47 "Encode buffer for Python 3"
48 return buf.encode( Encoding )
49 getincrementaldecoder = codecs.getincrementaldecoder( Encoding )
50
51else:

Callers 1

writeMethod · 0.90

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected