![sp_Feed](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_Feed.png)
![sp_PrintTopic](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_PrintTopic.png)
![sp_TopicIcon](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_TopicIcon.png)
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
12/04/2015
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
The id of the node is "ns=2;i=10302". It's full name is "Object/Data/Static/Array/ByteValue". The type of Value attribute is ByteString not Byte[].
All other sibling nodes like "Object/Data/Static/Array/SByte" or "Object/Data/Static/Array/In16" have attribute Value of type array, respectively SByte[] and Int16[].
Does using ByteString instead of Byte[] is correct? If yes then is using Byte[] incorrect?
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/guestdefault.png)
Hello,
This is a good question and fortunately has an easy answer.
In some development languages such as Java and .NET, they cannot distinguish the difference between a ByteString and Byte[] array. For those languages they're seen the same thing and therefore interpreted [typically] as ByteString.
This poses more of a problem for the other development languages that can distinguish a difference between them. I think in UA 1.02 specification a clause was added to force Servers to automatically convert ByteString-to-Byte[] and vice-versa.
So to answer your question, this behavior is OK.
1 Guest(s)