Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeOpcUa/python-opcua
/ unpack
Method
unpack
opcua/ua/ua_binary.py:57–61 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
55
56
@staticmethod
57
def
unpack(data):
58
length = Primitives.Int32.unpack(data)
59
if
length == -1:
60
return
None
61
return
data.read(length)
62
63
64
class
_String(object):
Callers
nothing calls this directly
Calls
2
unpack
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected