ArrayExtensionsToHexString Method (Byte) |
Converts a byte array to a hex string.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static string ToHexString(
this byte[] buffer
)
<ExtensionAttribute>
Public Shared Function ToHexString (
buffer As Byte()
) As String
public:
[ExtensionAttribute]
static String^ ToHexString(
array<unsigned char>^ buffer
)
[<ExtensionAttribute>]
static member ToHexString :
buffer : byte[] -> string
Parameters
- buffer
- Type: SystemByte
The byte array to convert.
Return Value
Type:
String
A concatenation of hex values in a string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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