Header menu logo B2R2

B2R2.RearEnd.Utils Namespace

Contains types and functions used in rear-end applications.

Type/Module Description

CmdOpts

Provides utility functions for parsing command line options.

Color

Represents colors to print out in the console.

ColoredString

Represent a string that can be printed out in the console with colors. A colored string is a list of colored segments, each of which represents a string with a specific color.

ConsoleCachedPrinter

Represents a printer that prints out non-colored strings only when the Flush method is called. All the colored strings will be normalized to plain strings. It will simply stack up all the output candidates before Flush is called. This is useful for performance-critical applications.

ConsoleNullPrinter

Represents a printer that does *not* print anything. This is the same as redirecting outputs to /dev/null.

ConsolePrinter

Represents a printer that simply prints out strings to console whenever a print method is called. This printer does not perform any caching, so it immediately flushes out all the strings to console.

HexDump

Provides hex dumping functionality.

IPrinter

Represents a printer interface. It is recommended to use this interface instead of language primitives, such as System.Console or printfn.

IVerboseOption

Represents a command line option that can control verbosity.

OutString

Represents an output string generated from rear-end applications.

PrinterConst

Defines constants used for pretty printing.

String

Provides string utility functions used in RearEnd.

TableColumnFormat

Represents a column of a table with a specified width in bytes (# of chars).

TableConfig

Represents a table-like output configuration of a table. This is useful for formatting the output of console applications as we often align texts in a table-like shape.

Terminal

Represents a printer interface shared by rear-end applications.

Type something to start searching.