MCPcopy Create free account
hub / github.com/ZDoom/Raze / SkipChunk

Function SkipChunk

source/core/d_protocol.cpp:428–434  ·  view source on GitHub ↗

Skip past an unknown chunk. *stream should be pointing to the chunk's length field.

Source from the content-addressed store, hash-verified

426// Skip past an unknown chunk. *stream should be
427// pointing to the chunk's length field.
428void SkipChunk (uint8_t **stream)
429{
430 int len;
431
432 len = ReadLong (stream);
433 *stream += len + (len & 1);
434}

Callers

nothing calls this directly

Calls 1

ReadLongFunction · 0.85

Tested by

no test coverage detected