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

Function stbi__zreceive

Source/Utils/stb_image.h:4213–4221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4211}
4212
4213stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n)
4214{
4215 unsigned int k;
4216 if (z->num_bits < n) stbi__fill_bits(z);
4217 k = z->code_buffer & ((1 << n) - 1);
4218 z->code_buffer >>= n;
4219 z->num_bits -= n;
4220 return k;
4221}
4222
4223static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z)
4224{

Callers 4

stbi__parse_zlibFunction · 0.85

Calls 1

stbi__fill_bitsFunction · 0.85

Tested by

no test coverage detected