]> sigrok.org Git - libsigrok.git/commit
strutil: introduce hex dump routines (allocate a text buffer)
authorGerhard Sittig <redacted>
Sat, 6 Oct 2018 17:02:03 +0000 (19:02 +0200)
committerUwe Hermann <redacted>
Sat, 13 Oct 2018 13:57:01 +0000 (15:57 +0200)
commitd8bc7ca3e6853bd4df33d9ff9405652abec8b67e
tree03763bf315a9abcbbd03123d8347fe2c4c7ff44d
parent08f8421a9e82fec8bb2fa4e561fea8cb468abcca
strutil: introduce hex dump routines (allocate a text buffer)

Introduce common support for hex dumps in the string util collection.
There are explicit allocation and release routines for the textual
representation of the data bytes, so that callers are free to chose
whether and how to decorate the dump and where to send the message.
src/libsigrok-internal.h
src/strutil.c