MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Reset

Method Reset

Libraries/unrar/array.hpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147
148template <class T> void Array<T>::Reset()
149{
150 if (Buffer!=NULL)
151 {
152 free(Buffer);
153 Buffer=NULL;
154 }
155 BufSize=0;
156 AllocSize=0;
157}
158
159
160// Reset buffer size, but preserve already allocated memory if any,

Callers 9

InitMethod · 0.45
ReadHeader15Method · 0.45
ReadHeader50Method · 0.45
ReadHeader14Method · 0.45
ReadSubDataMethod · 0.45
ExpandFolderMaskMethod · 0.45
GetFilteredMaskMethod · 0.45
ArchiveMethod · 0.45
LoadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected