Removed GetCurrentStartOffset and GetCurrentEndOffset
authorAlexander Krotov <ilabdsf@yandex.ru>
Sun, 26 Jul 2015 19:44:31 +0300
changeset 11568 26efab224fe7
parent 11567 6aea6eab3ff3
child 11569 9e2150995b92
Removed GetCurrentStartOffset and GetCurrentEndOffset
src/network/model/buffer.cc
src/network/model/buffer.h
--- a/src/network/model/buffer.cc	Sun Jul 26 19:44:32 2015 +0300
+++ b/src/network/model/buffer.cc	Sun Jul 26 19:44:31 2015 +0300
@@ -689,19 +689,6 @@
   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
--- a/src/network/model/buffer.h	Sun Jul 26 19:44:32 2015 +0300
+++ b/src/network/model/buffer.h	Sun Jul 26 19:44:31 2015 +0300
@@ -588,17 +588,6 @@
    */
   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.
    *