From a7c46386bbeca56552b349f157b0f141eeec80fa Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Fri, 21 Oct 2022 12:01:38 +0200 Subject: [PATCH] network: Fix doxygen for Trailer::Deserialize() methods --- src/network/model/trailer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/model/trailer.h b/src/network/model/trailer.h index 0424fc3e1..c48cb3de2 100644 --- a/src/network/model/trailer.h +++ b/src/network/model/trailer.h @@ -78,7 +78,7 @@ class Trailer : public Chunk * The data read is expected to match bit-for-bit the * representation of this trailer in real networks. * The input iterator points to the end of the area where the - * data shall be written. This method is thus expected to call + * data shall be read from. This method is thus expected to call * Buffer::Iterator::Prev prior to actually reading any data. */ uint32_t Deserialize(Buffer::Iterator end) override = 0; @@ -94,7 +94,7 @@ class Trailer : public Chunk * The data read is expected to match bit-for-bit the * representation of this trailer in real networks. * The input iterator end points to the end of the area where the - * data shall be written. + * data shall be read from. * * This variant should be provided by any variable-sized trailer subclass * (i.e. if GetSerializedSize () does not return a constant).