OTX-Runtime for Java  
OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField Class Reference

Represents the data type ByteField. More...

Public Member Functions

 ByteField (String hexString)
 Initializes a new instance of the ByteField class. More...
 
void FromBytes (byte[] bytes, int length)
 Parses a byte array to ByteField. More...
 
byte[] GetBytes ()
 Gets value as byte array. More...
 
String GetHexString ()
 Gets hexadecimal string. More...
 
String toString ()
 Converts to string. More...
 

Detailed Description

Represents the data type ByteField.

Constructor & Destructor Documentation

◆ ByteField()

OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField.ByteField ( String  hexString)
inline

Initializes a new instance of the ByteField class.

Parameters
hexStringThe hex string.

Member Function Documentation

◆ FromBytes()

void OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField.FromBytes ( byte[]  bytes,
int  length 
)
inline

Parses a byte array to ByteField.

Parameters
bytesByte array.
lengthLength of Byte array.

◆ GetBytes()

byte [] OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField.GetBytes ( )
inline

Gets value as byte array.

Returns
Value as byte array

◆ GetHexString()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField.GetHexString ( )
inline

Gets hexadecimal string.

Returns
Value of ByteField which is presented by hexadecimal string.

◆ toString()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.ByteField.toString ( )
inline

Converts to string.

Returns
Returns the string.

The documentation for this class was generated from the following file: