aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/stream.h b/zencore/include/zencore/stream.h
index efff2c541..ec303e1f8 100644
--- a/zencore/include/zencore/stream.h
+++ b/zencore/include/zencore/stream.h
@@ -77,6 +77,7 @@ public:
inline uint64_t Size() const { return m_BufferSize; }
inline uint64_t GetSize() const { return Size(); }
inline uint64_t CurrentOffset() const { return m_Offset; }
+ inline void Skip(size_t ByteCount) { m_Offset += ByteCount; };
private:
const uint8_t* m_BufferBase;