Skip to content

Commit

Permalink
Expose GetBytePosition() and GetBitPosition()
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Jan 13, 2022
1 parent 8a81b02 commit bfd3b9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Code/core/include/Buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ namespace TiltedPhoques
void Reverse(size_t aByteCount);

[[nodiscard]] size_t Size() const noexcept;

protected:

[[nodiscard]] size_t GetBytePosition() const;
[[nodiscard]] size_t GetBitPosition() const;

protected:

size_t m_bitPosition;
Buffer* m_pBuffer;
};
Expand Down

0 comments on commit bfd3b9e

Please sign in to comment.