Click or drag to resize

ConversionsToHexaDump Method (IntPtr, Int32, Int32, String, Boolean)

Converts a buffer to an hexadecimal dump representation.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static string ToHexaDump(
	this IntPtr ptr,
	int offset,
	int count,
	string prefix = null,
	bool addHeader = true
)

Parameters

ptr
Type: SystemIntPtr
The buffer pointer.
offset
Type: SystemInt32
The offset.
count
Type: SystemInt32
The count.
prefix (Optional)
Type: SystemString
The prefix.
addHeader (Optional)
Type: SystemBoolean
if set to true an header will be added.

Return Value

Type: String
A string or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IntPtr. 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).
See Also