APG
… an ABNF Parser Generator
|
This example will demonstrate the construction and use of the data formatting utility.
Displaying bytes and Unicode code points which often do not have printing ASCII character counterparts is a common problem with many applications. This object provides a common solution to this problem. It is roughly patterned after the Linux hexdump
command. Once the object has been created it can be used as an iterator to display fixed line length displays of the data in several common formats.
The compiled example will execute the following cases. Run the application with no arguments for application usage.