Nice |
public static class NiceFormatter
The NiceFormatter type exposes the following members.
Name | Description | |
---|---|---|
Bits(Int32) | Converts an Int32 into a string of bits separated into byte groups. | |
Bits(Int64) | Converts an Int64 into a string of bits separated into byte groups. | |
Bits(UInt32) | Converts a UInt32 into a string of bits separated into byte groups. | |
Bits(UInt64) | Converts a UInt64 into a string of bits separated into byte groups. | |
Sample(Byte, Int32) | Converts a buffer into a nicely formatted string where leading and trailing bytes of a maximum length are displayed, but excess middle bytes are replaced with a count placeholder. It therefore displays a sample of a buffer of arbitrary length. The middle truncation is skipped if it is less than 8 bytes long. | |
Sample(String, Int32) | Converts a string into a nicely formatted string whre leading and trailing characters of a maximum length are displayed, but excess middle charactes are replaced with a count placeholder. It therefore displays a sample of a string of arbitrary length. The middle truncation is skipped if it is less than 8 characters long. | |
Tablize | Converts an enumerable set of objects (of the same type) into a mock table of rows and columns formatted using ASCII box characters. Each property in the incoming object type becomes a column of the mock table. The first row of the mock table is a header row containing the column property names. | |
TablizeAdoTable | Converts DataTable rows into a mock display table of rows and columns formatted using ASCII box characters. For more information see the Tablize(IEnumerableObject, NullableInt32, NullableInt32) and TablizeObj(Object, NullableInt32) methods. | |
TablizeTsv | Converts an enumerable set of TSV (tab separated values) formatted lines into a mock table of rows and columns formatting using ASCII box characters. Each input line is expected to contain the same number of tab separated values. |