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

Function bytes_literal

cpp/gdb_arrow.py:189–194  ·  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

187
188
189def bytes_literal(val, size=None):
190 """
191 Format a gdb.Value for display as a literal containing possibly
192 unprintable characters.
193 """
194 return val.lazy_string(length=size).value()
195
196
197def 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