| 4911 | } |
| 4912 | |
| 4913 | STBIDEF int stbi_zlib_decode_buffer( |
| 4914 | char* obuffer, int olen, char const* ibuffer, int ilen) { |
| 4915 | stbi__zbuf a; |
| 4916 | a.zbuffer = (stbi_uc*)ibuffer; |
| 4917 | a.zbuffer_end = (stbi_uc*)ibuffer + ilen; |
| 4918 | if (stbi__do_zlib(&a, obuffer, olen, 0, 1)) |
| 4919 | return (int)(a.zout - a.zout_start); |
| 4920 | else |
| 4921 | return -1; |
| 4922 | } |
| 4923 | |
| 4924 | STBIDEF char* stbi_zlib_decode_noheader_malloc( |
| 4925 | char const* buffer, int len, int* outlen) { |
nothing calls this directly
no test coverage detected