ByteExtensionsToHexaDump(Byte, Int32, Boolean) Method

Dumps the content of a Byte array to a readable hexadecimal table.

Definition

Namespace: DevCase.Extensions.ByteExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static string ToHexaDump(
	this byte[] buffer,
	int length,
	bool addHeader = true
)

Parameters

buffer  Byte
The source Byte array.
length  Int32
The number of bytes to read from the buffer.
addHeader  Boolean  (Optional)
Optionally, adds a default header to the table columns.

Default value: True

Return Value

String
The resulting readable hexadecimal table.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also