From 448f60605438e0b0a5458232c9dbf78c689bd26c Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 9 Feb 2016 19:17:39 -0500 Subject: [PATCH] update comments --- src/misc/serialize.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/misc/serialize.h b/src/misc/serialize.h index 8d1fd29..2dd5d72 100644 --- a/src/misc/serialize.h +++ b/src/misc/serialize.h @@ -167,13 +167,19 @@ namespace epics { namespace pvData { /** * @brief deserializeFromBuffer Deserialize into S from provided vector * @param S A Serializeable object. The current contents will be replaced - * @param byteOrder Byte order to write (EPICS_ENDIAN_LITTLE or EPICS_ENDIAN_BIG) * @param in The input buffer (byte order of this buffer is used) * @throws std::logic_error if input buffer is too small. State of S is then undefined. */ void deserializeFromBuffer(Serializable *S, ByteBuffer& in); + /** + * @brief deserializeFromBuffer Deserialize into S from provided vector + * @param S A Serializeable object. The current contents will be replaced + * @param byteOrder Byte order to write (EPICS_ENDIAN_LITTLE or EPICS_ENDIAN_BIG) + * @param in The input vector + * @throws std::logic_error if input buffer is too small. State of S is then undefined. + */ inline void deserializeFromVector(Serializable *S, int byteOrder, const std::vector& in)