MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / readPngData

Function readPngData

source/core/StarImage.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16void readPngData(png_structp pngPtr, png_bytep data, png_size_t length) {
17 ((IODevice*)png_get_io_ptr(pngPtr))->readFull((char*)data, length);
18};
19
20bool Image::isPng(IODevicePtr device) {
21 png_byte header[8]{};

Callers

nothing calls this directly

Calls 1

readFullMethod · 0.80

Tested by

no test coverage detected