Migration Guide : A. Features Introduced in OpenROAD 4.1 : OpenROAD 4.1/0109 Enhancements : New Methods
 
Share this page          
New Methods
The following classes have new methods:
LongByteObject Class
StringObject Class
For more information about these methods, see the latest version of the Language Reference Guide.
LongByteObject Class ConvertFromString Method
The ConvertFromString method loads the object from a StringObject that is assumed to hold a representation of binary data, which has been converted to text.
integer = LongByteObject.ConvertFromString(
          string = StringObject, format = integer );
The format parameter is required and specifies the data format of the text in the string parameter. Valid settings are:
EF_HEX
EF_BASE64
StringObject Class ConvertFromBinary Method
The ConvertFromBinary method loads the object from the binary contents of a LongByteObject. This provides a way of converting binary data into a text string.
integer = StringObject.ConvertFromBinary(
          binary = LongByteObject, format = integer );
The format parameter is required and specifies how the binary contents of the LongByteObject are converted into text. Valid settings are:
EF_HEX
EF_BASE64