Reference Library
DataFormatter Class
NamespacesMBNCSUtilDataFormatter
Provides functions for printing bytes to various output devices. This class cannot be inherited.
Declaration Syntax
C#Visual BasicVisual C++
public static class DataFormatter
Public NotInheritable Class DataFormatter
public ref class DataFormatter abstract sealed
Members
All MembersMethods



IconMemberDescription
Format(array<Byte>[]()[][])
Formats a data into 16-byte rows followed by an ASCII representation.

WriteToConsole(array<Byte>[]()[][])
Writes a series of bytes to the console, printing them in 16-byte rows followed by an ASCII representation.

WriteToTrace(array<Byte>[]()[][])
Writes a series of bytes to trace listeners, printing them in 16-byte rows, followed by an ASCII representation.

WriteToTrace(array<Byte>[]()[][], String)
Writes a series of bytes to trace listeners, printing them in 16-byte rows, followed by an ASCII representation.

Examples
            DataFormatter.WriteToConsole(XSha1.CalculateHash(Encoding.ASCII.GetBytes("password")));
            
            0000   ec c8 0d 1d 76 e7 58 c0  b9 da 8c 25 ff 10 6a ff    ìE..vçXA.U.%ÿ.jÿ
            0010   8e 24 29 16                                         .$).
            
Inheritance Hierarchy
Object
DataFormatter

Assembly: Asgard5Library (Module: Asgard5Library)