8 #ifndef SRC_PACK_STAT_HPP_
9 #define SRC_PACK_STAT_HPP_
108 return mem.getPointer(p_mark);
118 return (
char *)mem.getPointer(un_ele) - (
char *)mem.getPointer(p_mark);
size_t getOffset()
Return the actual counter.
size_t getMarkSize(T &mem)
Get the memory size from the mark point.
void incReq()
Increment the request pointer.
void addOffset(size_t off)
Increment the request pointer.
size_t reqPack()
return the actual request for packing
void * getMarkPointer(T &mem)
Return the memory pointer at the mark place.
size_t getMark()
Return the mark.