diff options
Diffstat (limited to 'ByteBuffer.h')
-rw-r--r-- | ByteBuffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ByteBuffer.h b/ByteBuffer.h index c93b5f1..828ee4b 100644 --- a/ByteBuffer.h +++ b/ByteBuffer.h @@ -20,6 +20,14 @@ public: return size; } + inline size_t getCapacity() { + return capacity; + } + + inline size_t getCursor() { + return cursor; + } + inline void setCursor(size_t newCursor) { cursor = newCursor; } |