MCPcopy Create free account
hub / github.com/diasurgical/devilution / msg_comp_level

Function msg_comp_level

Source/msg.cpp:287–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287int msg_comp_level(BYTE *buffer, BYTE *end)
288{
289 int size, pkSize;
290
291 size = end - buffer - 1;
292 pkSize = PkwareCompress(buffer + 1, size);
293 *buffer = size != pkSize;
294
295 return pkSize + 1;
296}
297
298void delta_init()
299{

Callers 1

DeltaExportDataFunction · 0.85

Calls 1

PkwareCompressFunction · 0.85

Tested by

no test coverage detected