Keysight VISA.NET Help
ToBytes Method



The Unicode string to be converted.
Converts a Unicode string to a ASCII string in a byte buffer.
Syntax
'Declaration
 
Public Shared Function ToBytes( _
   ByVal buffer As String _
) As Byte()
'Usage
 
Dim buffer As String
Dim value() As Byte
 
value = VisaConvert.ToBytes(buffer)
public static byte[] ToBytes( 
   string buffer
)
public:
static array<byte>^ ToBytes( 
   String^ buffer
) 

Parameters

buffer
The Unicode string to be converted.

Return Value

The converted ASCII string.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025