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

Function StartChunk

source/core/d_protocol.cpp:402–407  ·  view source on GitHub ↗

Write the header of an IFF chunk and leave space for the length field.

Source from the content-addressed store, hash-verified

400// Write the header of an IFF chunk and leave space
401// for the length field.
402void StartChunk (int id, uint8_t **stream)
403{
404 WriteLong (id, stream);
405 lenspot = *stream;
406 *stream += 4;
407}
408
409// Write the length field for the chunk and insert
410// pad byte if the chunk is odd-sized.

Callers

nothing calls this directly

Calls 1

WriteLongFunction · 0.85

Tested by

no test coverage detected