Function epics::pvData::deserializeFromVector

Function Documentation

inline void epics::pvData::deserializeFromVector(Serializable *S, int byteOrder, const std::vector<epicsUInt8> &in)

deserializeFromBuffer Deserialize into S from provided vector

Parameters
  • S – A Serializeable object. The current contents will be replaced

  • byteOrder – Byte order to write (EPICS_ENDIAN_LITTLE or EPICS_ENDIAN_BIG)

  • in – The input vector

Throws

std::logic_error – if input buffer is too small. State of S is then undefined.