Description Usage Arguments Details Value Author(s) See Also Examples
This function takes a "rawBlock"
object and
generates human-readable strings for displaying the block.
Each string contains a binary offset, the binary data
in a raw machine format, and an interpretation of
the data in a human-readable format.
1 2 3 4 |
x |
A |
width |
The number of bytes to display per string. |
machine |
The machine format to display;
either |
sep1 |
A separator to insert between the block offset and the machine format. |
sep2 |
A separator to insert between the machine format and the human-readable format. |
showOffset |
If |
showHuman |
If |
... |
Other arguments to |
If either width
or machine
is NULL
,
the relevant value is taken from the
"rawBlock"
object. The human-readable format is
taken from the "rawBlock"
object.
A character vector.
Paul Murrell
1 2 | fileBlock <- readRaw(hexViewFile("rawTest.txt"), width=8)
as.character(fileBlock)
|
[1] "0 : 74 65 73 74 20 70 61 74 | test pat"
[2] "8 : 74 65 72 6e 0a | tern. "
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.