| 4554 | } |
| 4555 | |
| 4556 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) |
| 4557 | { |
| 4558 | stbi__zbuf a; |
| 4559 | a.zbuffer = (stbi_uc *) ibuffer; |
| 4560 | a.zbuffer_end = (stbi_uc *) ibuffer + ilen; |
| 4561 | if (stbi__do_zlib(&a, obuffer, olen, 0, 1)) |
| 4562 | return (int) (a.zout - a.zout_start); |
| 4563 | else |
| 4564 | return -1; |
| 4565 | } |
| 4566 | |
| 4567 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) |
| 4568 | { |
nothing calls this directly
no test coverage detected