81 added ByteString class to be used as mappings for the UA ByteString type. ExtensionObject is defined to have either a ByteString or XmlElement, therefore it should use the given ByteString class. The existing constructor can be kept as deprecated to forward a new one that takes ByteString directly.
This will affect code dealing with custom Structures that do not have explicit Serializers defined for them, as the type returned by the ExtensionObject.getObject() will change to be the ByteString instead of the current byte array.
81 added
ByteString
class to be used as mappings for the UA ByteString type.ExtensionObject
is defined to have either a ByteString or XmlElement, therefore it should use the given ByteString class. The existing constructor can be kept as deprecated to forward a new one that takes ByteString directly.This will affect code dealing with custom Structures that do not have explicit Serializers defined for them, as the type returned by the
ExtensionObject.getObject()
will change to be the ByteString instead of the current byte array.