From 292979e742903a0e2931d26ed8007a5f28d5c7df Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Sun, 26 Jul 2015 19:44:31 +0300 Subject: [PATCH] Removed GetCurrentStartOffset and GetCurrentEndOffset --- src/network/model/buffer.cc | 13 ------------- src/network/model/buffer.h | 11 ----------- 2 files changed, 24 deletions(-) diff --git a/src/network/model/buffer.cc b/src/network/model/buffer.cc index 5d13021fd..86b38b291 100644 --- a/src/network/model/buffer.cc +++ b/src/network/model/buffer.cc @@ -689,19 +689,6 @@ Buffer::Deserialize (const uint8_t *buffer, uint32_t size) return (sizeCheck != 0) ? 0 : 1; } -int32_t -Buffer::GetCurrentStartOffset (void) const -{ - NS_LOG_FUNCTION (this); - return m_start; -} -int32_t -Buffer::GetCurrentEndOffset (void) const -{ - NS_LOG_FUNCTION (this); - return m_end; -} - void Buffer::TransformIntoRealBuffer (void) const diff --git a/src/network/model/buffer.h b/src/network/model/buffer.h index d212ff6ed..b96deeed9 100644 --- a/src/network/model/buffer.h +++ b/src/network/model/buffer.h @@ -588,17 +588,6 @@ private: */ uint32_t Deserialize (const uint8_t* buffer, uint32_t size); - /** - * \brief Returns the current buffer start offset - * \return the offset - */ - int32_t GetCurrentStartOffset (void) const; - /** - * \brief Returns the current buffer end offset - * \return the offset - */ - int32_t GetCurrentEndOffset (void) const; - /** * Copy the specified amount of data from the buffer to the given output stream. *