MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / test_bit

Function test_bit

opcua/ua/ua_binary.py:21–23  ·  view source on GitHub ↗
(data, offset)

Source from the content-addressed store, hash-verified

19
20
21def test_bit(data, offset):
22 mask = 1 << offset
23 return data & mask
24
25
26def set_bit(data, offset):

Callers 3

nodeid_from_binaryFunction · 0.85
variant_from_binaryFunction · 0.85
struct_from_binaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected