Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ chb
Function
chb
scapy/compat.py:145–148 ·
view source on GitHub ↗
Same than chr() but encode as bytes.
(x)
Source
from the content-addressed store, hash-verified
143
144
145
def
chb(x):
146
# type: (int) -> bytes
147
""
"Same than chr() but encode as bytes."
""
148
return
struct.pack(
"!B"
, x)
149
150
151
def
orb(x):
Callers
15
RandBin
Class · 0.90
fletcher16_checkbytes
Function · 0.90
mac2str
Function · 0.90
in6_getRandomizedIfaceId
Function · 0.90
addfield
Method · 0.90
obfuscate
Function · 0.90
i2m
Method · 0.90
addfield
Method · 0.90
huffman_conv2str
Method · 0.90
huffman_compute_decode_tree
Method · 0.90
i2repr
Method · 0.90
any2i
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected