MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / GetStreamEncodedSize

Function GetStreamEncodedSize

src/External/CascLib/src/CascReadFile.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// Local functions
17
18static DWORD GetStreamEncodedSize(TFileStream * pStream)
19{
20 ULONGLONG FileSize = 0;
21
22 FileStream_GetSize(pStream, &FileSize);
23 assert((FileSize >> 32) == 0);
24
25 return (DWORD)(FileSize);
26}
27
28static DWORD OpenDataStream(TCascFile * hf, PCASC_FILE_SPAN pFileSpan, PCASC_CKEY_ENTRY pCKeyEntry, bool bDownloadFileIf)
29{

Callers 1

OpenDataStreamFunction · 0.85

Calls 1

FileStream_GetSizeFunction · 0.85

Tested by

no test coverage detected