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

Method GetW

Libraries/unrar/rawread.cpp:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154void RawRead::GetW(wchar *Field,size_t Size)
155{
156 if (ReadPos+2*Size-1<DataSize)
157 {
158 RawToWide(&Data[ReadPos],Field,Size);
159 ReadPos+=sizeof(wchar)*Size;
160 }
161 else
162 memset(Field,0,sizeof(wchar)*Size);
163}
164
165
166uint RawRead::GetCRC15(bool ProcessedOnly) // RAR 1.5 block CRC.

Callers

nothing calls this directly

Calls 1

RawToWideFunction · 0.85

Tested by

no test coverage detected