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