XBinder  Version 2.6.x
Functions
rtxHexDump.h File Reference
#include "rtxsrc/rtxContext.h"

Go to the source code of this file.

Functions

EXTERNRT int rtxByteToHexChar (OSOCTET byte, char *buf, OSSIZE bufsize)
 This function converts a byte value into its hex string equivalent. More...
 
EXTERNRT int rtxByteToHexCharWithPrefix (OSOCTET byte, char *buf, OSSIZE bufsize, const char *prefix)
 This function converts a byte value into its hex string equivalent. More...
 
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 name. More...
 
EXTERNRT void rtxHexDumpToFile (FILE *fp, const OSOCTET *data, OSSIZE numocts)
 This function outputs a hexadecimal dump of the current buffer contents to a file. More...
 
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 as an array of bytes, words, or double words. More...
 
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 as an array of bytes, words, or double words. More...
 
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 name. More...
 
EXTERNRT void rtxHexDump (const OSOCTET *data, OSSIZE numocts)
 This function outputs a hexadecimal dump of the current buffer contents to stdout. More...
 
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. More...
 
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. More...
 
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. More...
 
EXTERNRT int rtxHexDumpFileContents (const char *inFilePath)
 This function outputs a hexadecimal dump of the contents of the named file to stdout. More...
 
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. More...
 
EXTERNRT char * rtxHexDiffToDynString (OSCTXT *pctxt, const OSOCTET *pdata1, const OSOCTET *pdata2, OSSIZE numocts)
 This function generates a differences report between two binary data buffers. More...