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

Function CopyToLz4

Sources/Shared/IO/PakFile.cpp:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343# endif
344# if defined(WITH_LZ4)
345 static void CopyToLz4(Stream& input, Stream& output, std::int64_t& uncompressedSize)
346 {
347 Lz4Writer dw(output);
348 uncompressedSize = input.CopyTo(dw);
349 }
350# endif
351# if defined(WITH_LZMA2)
352 static void CopyToLzma2(Stream& input, Stream& output, std::int64_t& uncompressedSize)

Callers 1

AddFileMethod · 0.85

Calls 1

CopyToMethod · 0.80

Tested by

no test coverage detected