MCPcopy Create free account
hub / github.com/assaultcube/AC / writeheader

Method writeheader

source/src/stream.cpp:669–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667 }
668
669 void writeheader()
670 {
671 uchar header[] = { MAGIC1, MAGIC2, Z_DEFLATED, 0, 0, 0, 0, 0, 0, OS_UNIX };
672 file->write(header, sizeof(header));
673 }
674
675 void readbuf(int size = BUFSIZE)
676 {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected