Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pexpect/pexpect
/ encode
Method
encode
pexpect/spawnbase.py:16–17 ·
view source on GitHub ↗
(b, final=False)
Source
from the content-addressed store, hash-verified
14
""
"Pass bytes through unchanged."
""
15
@staticmethod
16
def
encode(b, final=False):
17
return
b
18
19
@staticmethod
20
def
decode(b, final=False):
Callers
15
__init__
Method · 0.80
send
Method · 0.80
_spawn
Method · 0.80
send
Method · 0.80
interact
Method · 0.80
__init__
Method · 0.80
_coerce_expect_string
Method · 0.80
_coerce_expect_re
Method · 0.80
_coerce_send_string
Method · 0.80
__str__
Method · 0.80
send
Method · 0.80
send
Method · 0.80
Calls
no outgoing calls
Tested by
3
test_log
Method · 0.64
_iter_n
Method · 0.64
faster_range
Method · 0.64