netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package

Pretty print buffer to opened file stream. More...

Pretty print buffer to opened file stream.

Synopsis:
#include "rnr/netmsgs.h"

extern void nmPrintBuf(FILE *fp, const char *sPreface, byte_t buf[], size_t bufSize, size_t uNLFreq, uint_t uCol);

Description:

Parameters
fpFile pointer.
sPrefaceOptional buffer preface string (set to NULL for no preface).
bufBuffer to print.
uCountNumber of bytes to print.
uNLFreqNewline frequency (set to 0 for no newlines).
uColColumn alignment number.