MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / CopyToDeflate

Function CopyToDeflate

Sources/Shared/IO/PakFile.cpp:338–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336
337# if defined(WITH_ZLIB) || defined(WITH_MINIZ)
338 static void CopyToDeflate(Stream& input, Stream& output, std::int64_t& uncompressedSize)
339 {
340 DeflateWriter dw(output);
341 uncompressedSize = input.CopyTo(dw);
342 }
343# endif
344# if defined(WITH_LZ4)
345 static void CopyToLz4(Stream& input, Stream& output, std::int64_t& uncompressedSize)

Callers 1

AddFileMethod · 0.85

Calls 1

CopyToMethod · 0.80

Tested by

no test coverage detected