dump-marshalled

dump-marshalled [-p|-r|-i] [-a|-b TAG|-B TAG|-x TYPE] [-o FILE] [-t TAG]
                TYPE [FILE...]

With the -p option, dump-marshalled reads binary data from each FILE on its command line (or just standard input if no FILE is given), interprets it as an object of the given TYPE, and writes a printed dump to standard output. The names in the dump are prefixed by the TYPE name.

With -r, dump-marshalled reads a printed dump of an object of the given TYPE from each of the FILEs on its command line (or just standard input), and writes the corresponding binary data to standard output. The names in the dump must be prefixed by the TYPE name.

With -i, dump-marshalled reads an object of the given TYPE from standard input interactively, and writes the corresponding binary data to standard output.

This behaviour is modified by the other options as follows:

  • a TAG specified by -t is used in place of the named TYPE as a prefix for the object`s member names

  • an output FILE named by -o is used in place of standard output as the place where output (of whatever kind) is written

  • the -a, -b, -B and -x options perform encoding or decoding of binary data, as appropriate

Option Description

Mode selection

-c, --check

Exits zero if TYPE is recognized, nonzero otherwise.

-i, --interactive-read

Reads interactively, writes binary.

-l, --list

Lists the types currently supported.

-p, --print

Reads binary, writes print dump (default).

-r, --read

Reads print dump, writes binary.

Binary encoding options

-a, --base64

Base-64 encoding.

-b, --byteblock=TAG

ByteBlock, in print dump format, with TAG.

-B, --interactive-byteblock=TAG

ByteBlock, reads interactively, with TAG.

-x, --nchex=TYPE

nCHex format, with TYPE.

Other options

-o, --output=FILE

Writes the output to FILE rather than stdout.

-t, --tag=TAG

Uses TAG as the prefix for textual data.

Help options

-h, --help

Displays help for dump-marshalled.

-u, --usage

Displays a brief usage summary for dump-marshalled.

-v, --version

Displays the version number of the Security World Software that deploys dump-marshalled.