[sizebuf] Add function to dump contents of a buffer

The usual 8-bit hex + chars (with chars wrapped into 7-bits) with
addresses block.
This commit is contained in:
Bill Currie 2020-08-17 13:07:21 +09:00
parent 92aa94d776
commit fdcdbefc05
2 changed files with 32 additions and 0 deletions

View file

@ -50,6 +50,7 @@ void SZ_Clear (sizebuf_t *buf);
void *SZ_GetSpace (sizebuf_t *buf, int length);
void SZ_Write (sizebuf_t *buf, const void *data, int length);
void SZ_Print (sizebuf_t *buf, const char *data); // strcats onto the sizebuf
void SZ_Dump (sizebuf_t *buf);
///@}