ByteToolConvert(IEnumerableChar) Method |
Converts the byte string to bytes.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static byte[] Convert(
IEnumerable<char> description
)
Public Shared Function Convert (
description As IEnumerable(Of Char)
) As Byte()
Dim description As IEnumerable(Of Char)
Dim returnValue As Byte()
returnValue = ByteTool.Convert(description)
public:
static array<unsigned char>^ Convert(
IEnumerable<wchar_t>^ description
)
static member Convert :
description : IEnumerable<char> -> byte[]
Parameters
- description IEnumerableChar
- The HEX string.
Return Value
ByteThe converted bytes.
Remarks"80 00" is converted to new byte[] { 0x80, 0x00 }.
See Also