ByteToolConvertDecimal Method |
Converts decimal string to bytes.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static byte[] ConvertDecimal(
string description
)
Public Shared Function ConvertDecimal (
description As String
) As Byte()
Dim description As String
Dim returnValue As Byte()
returnValue = ByteTool.ConvertDecimal(description)
public:
static array<unsigned char>^ ConvertDecimal(
String^ description
)
static member ConvertDecimal :
description : string -> byte[]
Parameters
- description String
- The decimal string.
Return Value
ByteThe converted bytes.
Remarks" 16 18 " is converted to new byte[] { 0x10, 0x12 }.
See Also