Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
else
:
Callers
1
write
Method · 0.90
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected