BytesExtensionBytesToString Method |
Converts a specified byte array to hexadecimal string.
Namespace:
com.gigatms.Extensions
Assembly:
GIGATMS.UHF (in GIGATMS.UHF.dll) Version: 2.16.9.0 (2.16.9.0)
Syntaxpublic static string BytesToString(
this byte[] bytes
)
<ExtensionAttribute>
Public Shared Function BytesToString (
bytes As Byte()
) As String
public:
[ExtensionAttribute]
static String^ BytesToString(
array<unsigned char>^ bytes
)
Parameters
- bytes
- Type: SystemByte
Byte array.
Return Value
Type:
StringThe hexadecimal 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