public interface OpcUaXmlDataTypeCodec<T> extends DataTypeCodec<T,OpcUaXmlStreamDecoder,OpcUaXmlStreamEncoder>
| Modifier and Type | Method and Description |
|---|---|
T |
decode(SerializationContext context,
OpcUaXmlStreamDecoder reader)
Decode a
T using the provided OpcUaXmlStreamDecoder. |
void |
encode(SerializationContext context,
OpcUaXmlStreamEncoder writer,
T value)
Encode a
T using the provided OpcUaXmlStreamEncoder. |
getTypeT decode(SerializationContext context, OpcUaXmlStreamDecoder reader) throws UaSerializationException
T using the provided OpcUaXmlStreamDecoder.decode in interface DataTypeCodec<T,OpcUaXmlStreamDecoder,OpcUaXmlStreamEncoder>context - the SerializationContext.reader - the OpcUaXmlStreamDecoder to decode from.T.UaSerializationExceptionvoid encode(SerializationContext context, OpcUaXmlStreamEncoder writer, T value) throws UaSerializationException
T using the provided OpcUaXmlStreamEncoder.encode in interface DataTypeCodec<T,OpcUaXmlStreamDecoder,OpcUaXmlStreamEncoder>context - the SerializationContext.writer - the OpcUaXmlStreamEncoder to encode to.value - the value T to encode.UaSerializationExceptionCopyright © 2025. All rights reserved.