MCPcopy Create free account
hub / github.com/MapServer/MapServer / png_write_data_to_stream

Function png_write_data_to_stream

mapimageio.c:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46} streamInfo;
47
48void png_write_data_to_stream(png_structp png_ptr, png_bytep data, png_size_t length) {
49 FILE *fp = ((streamInfo*)png_get_io_ptr(png_ptr))->fp;
50 msIO_fwrite(data,length,1,fp);
51}
52
53void png_write_data_to_buffer(png_structp png_ptr, png_bytep data, png_size_t length) {
54 bufferObj *buffer = ((streamInfo*)png_get_io_ptr(png_ptr))->buffer;

Callers

nothing calls this directly

Calls 1

msIO_fwriteFunction · 0.85

Tested by

no test coverage detected