diff --git a/inc/hgl/io/MemoryInputStream.h b/inc/hgl/io/MemoryInputStream.h index 8cebe5f..b7a7445 100644 --- a/inc/hgl/io/MemoryInputStream.h +++ b/inc/hgl/io/MemoryInputStream.h @@ -145,6 +145,12 @@ namespace hgl return cur_pos; } + const void *TellPointer()const + { + if(!buf)return(nullptr); + return buf+cur_pos; + } + int64 GetSize()const { if(!buf)return(-1);