MCPcopy Create free account
hub / github.com/apache/qpid-proton / bytes2string

Function bytes2string

python/cproton.py:203–204  ·  view source on GitHub ↗
(b, encoding='utf8')

Source from the content-addressed store, hash-verified

201
202
203def bytes2string(b, encoding='utf8'):
204 return ffi.unpack(b.start, b.size).decode(encoding)
205
206
207def py2bytes(py):

Callers 4

msgid2pyFunction · 0.85
pn_data_get_stringFunction · 0.85
pn_data_get_symbolFunction · 0.85
pn_delivery_tagFunction · 0.85

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected