MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / get_byte_array

Function get_byte_array

tools/scripts/gdbext.py:156–157  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

154 return as_type([int(value[i]) for i in range(0, size)])
155
156def get_byte_array(value):
157 return get_byte_slice(value, value.type.strip_typedefs().range()[1] + 1, tuple)
158
159def std_string_value(value, enc='utf-8'):
160 p = value['_M_dataplus']['_M_p']

Callers 4

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 1

get_byte_sliceFunction · 0.85

Tested by

no test coverage detected