takraj opened a new pull request, #1099:
URL: https://github.com/apache/plc4x/pull/1099

    1. The driver tried to `arraycopy()` a `Long`, which caused 
`ArrayStoreException`.
    2. GUIDs are structured objects, that matters when it comes to byte 
ordering. The OPC-UA protocol uses little (mixed) endian GUID encoding format, 
while Java uses the standard big endian one (RFC4122), so conversion is needed.
   
   References:
    * https://reference.opcfoundation.org/Core/Part6/v104/docs/5.2.2.6
    * https://en.wikipedia.org/wiki/Universally_unique_identifier#Encoding
    * https://devblogs.microsoft.com/oldnewthing/20220928-00/?p=107221
    * https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html
    * https://www.ietf.org/rfc/rfc4122.txt


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to