public abstract class BuiltinDataTypeCodec<T extends UaStructure> extends GenericDataTypeCodec<T>
| Constructor and Description |
|---|
BuiltinDataTypeCodec() |
| Modifier and Type | Method and Description |
|---|---|
T |
decode(SerializationContext context,
UaDecoder decoder)
Decode a
T using the provided reader R. |
protected abstract T |
decode(UaDecoder decoder) |
void |
encode(SerializationContext context,
UaEncoder encoder,
T value)
Encode a
T using the provided writer W. |
protected abstract void |
encode(T t,
UaEncoder encoder) |
asBinaryCodec, asXmlCodecclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic final T decode(SerializationContext context, UaDecoder decoder) throws UaSerializationException
DataTypeCodecT using the provided reader R.context - the SerializationContext.decoder - the reader R to decode from.T.UaSerializationExceptionpublic final void encode(SerializationContext context, UaEncoder encoder, T value) throws UaSerializationException
DataTypeCodecT using the provided writer W.context - the SerializationContext.encoder - the writer W to encode to.value - the T to encode.UaSerializationExceptionprotected abstract T decode(UaDecoder decoder) throws UaSerializationException
UaSerializationExceptionprotected abstract void encode(T t, UaEncoder encoder) throws UaSerializationException
UaSerializationExceptionCopyright © 2025. All rights reserved.