MCPcopy Create free account
hub / github.com/apache/arrow / bytes_literal

Function bytes_literal

cpp/gdb_arrow.py:187–192  ·  view source on GitHub ↗

Format a gdb.Value for display as a literal containing possibly unprintable characters.

(val, size=None)

Source from the content-addressed store, hash-verified

185
186
187def bytes_literal(val, size=None):
188 """
189 Format a gdb.Value for display as a literal containing possibly
190 unprintable characters.
191 """
192 return val.lazy_string(length=size).value()
193
194
195def utf8_literal(val, size=None):

Callers 2

childrenMethod · 0.85
to_stringMethod · 0.85

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected