Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/qilingframework/qiling
/ pack16
Method
pack16
qiling/core_struct.py:77–78 ·
view source on GitHub ↗
(self, x: int, /)
Source
from the content-addressed store, hash-verified
75
return
self._fmt32s.unpack(x)[0]
76
77
def
pack16(self, x: int, /) -> bytes:
78
return
self._fmt16.pack(x)
79
80
def
pack16s(self, x: int, /) -> bytes:
81
return
self._fmt16s.pack(x)
Callers
2
htons
Function · 0.80
__getdents_common
Function · 0.80
Calls
1
pack
Method · 0.45
Tested by
no test coverage detected