MCPcopy 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
64class _String(object):

Callers

nothing calls this directly

Calls 2

unpackMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected