byte_format.h File Reference

#include "textual_dll.h"

Include dependency graph for byte_format.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  byte_format

Functions

void byte_format::print_char (byte to_print, istring &out, char replace= '_')
 prints the byte "to_print" into "out" as long as "to_print" is readable.
void byte_format::print_chars (const byte *to_print, int length, istring &out, char replace= '_')
 sends the bytes in "to_print" of "length" bytes into the string "out".
void byte_format::text_dump (istring &output, const byte *location, u_int length, u_int label=0, const char *eol="\n")
 prints out a block of memory in a human readable form.
istring byte_format::text_dump (const byte *location, u_int length, u_int label=0, const char *eol="\n")
 this is a less efficient version of text_dump that returns a string.
void byte_format::text_dump (istring &output, const byte_array &to_dump, u_int label=0, const char *eol="\n")
 a version that operates on a byte_array and stores into a string.
istring byte_format::text_dump (const byte_array &to_dump, u_int label=0, const char *eol="\n")
 a version that operates on a byte_array and returns a string.
void byte_format::parse_dump (const istring &dumped_form, byte_array &bytes_found)
 this operation performs the inverse of a text_dump.
void byte_format::bytes_to_string (const byte_array &to_convert, istring &as_string, bool space_delimited=true)
 converts a byte_array into a string.
void byte_format::string_to_bytes (const istring &to_convert, byte_array &as_array)
 wrangles the string "to_convert" into an equivalent byte form "as_array".
void byte_format::bytes_to_string (const byte *to_convert, int length, istring &as_string, bool space_delimited=true)
 a version that accepts a byte pointer and length, rather than byte_array.
void byte_format::string_to_bytes (const char *to_convert, byte_array &as_array)
 a version that works with the char pointer rather than an istring.
void byte_format::bytes_to_shifted_string (const byte_array &to_convert, istring &as_string)
 this is a special purpose converter from bytes to character strings.
void byte_format::shifted_string_to_bytes (const istring &to_convert, byte_array &as_array)
 unshifts a string "to_convert" back into a byte_array.


Generated on Wed Nov 19 04:29:37 2008 for HOOPLE Libraries by  doxygen 1.5.1