27 #ifndef _RTXHEXDUMP_H_ 28 #define _RTXHEXDUMP_H_ 62 (OSOCTET byte,
char* buf, OSSIZE bufsize,
const char* prefix);
75 (
const char* filename,
const OSOCTET* data, OSSIZE numocts);
87 (FILE* fp,
const OSOCTET* data, OSSIZE numocts);
101 (FILE* fp,
const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
116 (FILE* fp,
const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
130 (
const char* filename,
const OSOCTET* data, OSSIZE numocts);
139 EXTERNRT
void rtxHexDump (
const OSOCTET* data, OSSIZE numocts);
152 (
const OSOCTET* data, OSSIZE numocts, OSSIZE bytesPerUnit);
167 (
const OSOCTET* data, OSSIZE numocts,
char* buffer, OSSIZE bufferIndex,
186 (
const OSOCTET* data, OSSIZE numocts,
char* buffer,
187 OSSIZE bufferIndex, OSSIZE bufferSize, OSSIZE bytesPerUnit);
205 (
const char* inFilePath,
const char* outFilePath);
223 (
OSCTXT* pctxt,
const OSOCTET* pdata1,
const OSOCTET* pdata2, OSSIZE numocts);
EXTERNRT void rtxHexDumpToFileEx(FILE *fp, const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit)
This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump ...
EXTERNRT char * rtxHexDiffToDynString(OSCTXT *pctxt, const OSOCTET *pdata1, const OSOCTET *pdata2, OSSIZE numocts)
This function generates a differences report between two binary data buffers.
EXTERNRT void rtxHexDumpToFile(FILE *fp, const OSOCTET *data, OSSIZE numocts)
This function outputs a hexadecimal dump of the current buffer contents to a file.
EXTERNRT int rtxHexDumpToString(const OSOCTET *data, OSSIZE numocts, char *buffer, OSSIZE bufferIndex, OSSIZE bufferSize)
This function formats a hexadecimal dump of the current buffer contents to a string.
EXTERNRT void rtxHexDumpEx(const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit)
This function outputs a hexadecimal dump of the current buffer contents to stdout, but it may display the dump as an array or bytes, words, or double words.
EXTERNRT int rtxHexDumpToStringEx(const OSOCTET *data, OSSIZE numocts, char *buffer, OSSIZE bufferIndex, OSSIZE bufferSize, OSSIZE bytesPerUnit)
This function formats a hexadecimal dump of the current buffer contents to a string, but it may output the dump as an array of bytes, words, or double words.
Common run-time context definitions.
EXTERNRT int rtxByteToHexCharWithPrefix(OSOCTET byte, char *buf, OSSIZE bufsize, const char *prefix)
This function converts a byte value into its hex string equivalent.
EXTERNRT int rtxHexDumpToNamedFile(const char *filename, const OSOCTET *data, OSSIZE numocts)
This function outputs a hexadecimal dump of the current buffer contents to the file with the given na...
EXTERNRT int rtxHexDumpFileContents(const char *inFilePath)
This function outputs a hexadecimal dump of the contents of the named file to stdout.
EXTERNRT int rtxByteToHexChar(OSOCTET byte, char *buf, OSSIZE bufsize)
This function converts a byte value into its hex string equivalent.
EXTERNRT int rtxHexDumpToNamedFileNoAscii(const char *filename, const OSOCTET *data, OSSIZE numocts)
This function outputs a hexadecimal dump of the current buffer contents to the file with the given na...
Run-time context structure.
EXTERNRT int rtxHexDumpFileContentsToFile(const char *inFilePath, const char *outFilePath)
This function outputs a hexadecimal dump of the contents of the named file to a text file...
EXTERNRT void rtxHexDumpToFileExNoAscii(FILE *fp, const OSOCTET *data, OSSIZE numocts, OSSIZE bytesPerUnit)
This function outputs a hexadecimal dump of the current buffer to a file, but it may output the dump ...
EXTERNRT void rtxHexDump(const OSOCTET *data, OSSIZE numocts)
This function outputs a hexadecimal dump of the current buffer contents to stdout.