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

Method _to_string

tools/scripts/gdbext.py:250–252  ·  view source on GitHub ↗
(self, hint)

Source from the content-addressed store, hash-verified

248 return sep.join(batched(['{:02x}'.format(b) for b in self.array], 4, ''.join))
249
250 def _to_string(self, hint):
251 s = self._array_as_hex_str()
252 return '{} ({})'.format(s, hint) if hint else s
253
254 def __str__(self):
255 return self.to_string()

Callers 4

to_stringMethod · 0.80
to_stringMethod · 0.80
to_stringMethod · 0.80
to_plain_stringMethod · 0.80

Calls 2

_array_as_hex_strMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected