public static class OpenFileMode.Codec extends GenericDataTypeCodec<OpenFileMode>
| Constructor and Description |
|---|
Codec() |
| Modifier and Type | Method and Description |
|---|---|
OpenFileMode |
decode(SerializationContext context,
UaDecoder decoder)
Decode a
T using the provided reader R. |
void |
encode(SerializationContext context,
UaEncoder encoder,
OpenFileMode value)
Encode a
T using the provided writer W. |
Class<OpenFileMode> |
getType() |
asBinaryCodec, asXmlCodecpublic Class<OpenFileMode> getType()
Class of the DataType this codec encodes.public OpenFileMode decode(SerializationContext context, UaDecoder decoder)
DataTypeCodecT using the provided reader R.context - the SerializationContext.decoder - the reader R to decode from.T.public void encode(SerializationContext context, UaEncoder encoder, OpenFileMode value)
DataTypeCodecT using the provided writer W.context - the SerializationContext.encoder - the writer W to encode to.value - the T to encode.Copyright © 2025. All rights reserved.