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

Function stbi__get_chunk_header

Source/Utils/stb_image.h:4612–4618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4610} stbi__pngchunk;
4611
4612static stbi__pngchunk stbi__get_chunk_header(stbi__context *s)
4613{
4614 stbi__pngchunk c;
4615 c.length = stbi__get32be(s);
4616 c.type = stbi__get32be(s);
4617 return c;
4618}
4619
4620static int stbi__check_png_header(stbi__context *s)
4621{

Callers 1

stbi__parse_png_fileFunction · 0.85

Calls 1

stbi__get32beFunction · 0.85

Tested by

no test coverage detected