32 std::size_t size =
RawSize(val.Encoding);
46 size +=
RawSize(val.SourceTimestamp);
51 size +=
RawSize(val.ServerTimestamp);
56 size +=
RawSize(val.SourcePicoseconds);
61 size +=
RawSize(val.ServerPicoseconds);
68 void DataSerializer::Serialize<DataValue>(
const DataValue & val)
70 *
this << val.Encoding;
84 *
this << val.SourceTimestamp;
89 *
this << val.SourcePicoseconds;
94 *
this << val.ServerTimestamp;
99 *
this << val.ServerPicoseconds;
104 void DataDeserializer::Deserialize<DataValue>(
DataValue & val)
106 *
this >> val.Encoding;
120 *
this >> val.SourceTimestamp;
125 *
this >> val.SourcePicoseconds;
130 *
this >> val.ServerTimestamp;
135 *
this >> val.ServerPicoseconds;
const uint8_t DATA_VALUE_STATUS_CODE
const uint8_t DATA_VALUE_Server_TIMESTAMP
const uint8_t DATA_VALUE_SOURCE_PICOSECONDS
std::size_t RawSize< DataValue >(const DataValue &val)
const uint8_t DATA_VALUE_SOURCE_TIMESTAMP
OPC UA Address space part. GNU LGPL.
const uint8_t DATA_VALUE_Server_PICOSECONDS
const char * Binary(const char *input, short n)
std::size_t RawSize(const T &obj)