Java : Access byte representation of GDS variables

When subscribing to ports, the values returned by ISubscriptionService.readValues() are AdeObjects, which unmarshal the values into Java types (Long, String, …) However, I need access to the original bytes (in the IEC format). I could not find any support for this. Is this possible, and how ? Thanks !

Hi, The Java API doesn’t currently provide support for this, If you want to extract bytes from Java variables in any order, I am afraid that you will need to do this yourself (sorry). Out of interest, why do you need to access the bytes in a particular order? If it is a common application, perhaps we can add a requirement for future versions of the Java API. ~ Martin.