OTX Reference
|
|
Convert expression to ByteField More...
Public Attributes | |
Term | term |
The expression (term) to be converted to ByteField More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term | |
MetaData | metaData |
Cardinality [0..1] The MetaData type allows tools to store additional, mainly tool-specific data. More... | |
Convert expression to ByteField
The ToByteField
term returns the ByteField
equivalent of the argument. It returns 0x01
for Boolean true
and 0x00
for false
. If the argument is Integer
, it returns the the smallest possible two's complement representation of the value with little-endian. If the argument is Float
, it returns the value encoded with 64-bit double precision according to IEEE 754:2008 and String
the UTF-8 encoded value.
Boolean
Integer
Float
ByteField
String
Term OpenTestSystem.Otx.Core.Terms.ToByteField.term |
The expression (term) to be converted to ByteField