MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / bitread_init

Function bitread_init

Source/Amiga/dernc.cpp:250–253  ·  view source on GitHub ↗

* Initialises a bit stream with the first two bytes of the packed * data. */

Source from the content-addressed store, hash-verified

248 * data.
249 */
250static void bitread_init (bit_stream *bs, unsigned char **p) {
251 bs->bitbuf = lword (*p);
252 bs->bitcount = 16;
253}
254
255/*
256 * Fixes up a bit stream after literals have been read out of the

Callers 1

rnc_unpackFunction · 0.85

Calls 1

lwordFunction · 0.85

Tested by

no test coverage detected