ByteToolConvert(Byte) Method |
Converts bytes to a byte string.
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static string Convert(
byte[] buffer
)
Public Shared Function Convert (
buffer As Byte()
) As String
Dim buffer As Byte()
Dim returnValue As String
returnValue = ByteTool.Convert(buffer)
public:
static String^ Convert(
array<unsigned char>^ buffer
)
static member Convert :
buffer : byte[] -> string
Parameters
- buffer Byte
- The bytes.
Return Value
StringThe formatted string.
Remarksnew byte[] { 0x80, 0x00 } is converted to "80 00".
See Also