blob: 547d2af41a7dcec3ed39ccab154fa99851182be7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "global.h"
typedef void unzbuffer_writefunc(u8*,i64,void*);
struct unzbuffer;
struct unzbuffer* unzbuffer_init(unzbuffer_writefunc *wf,void *payload);
// Return false on invalid stream
bool unzbuffer_write(struct unzbuffer *z,u8 *data,i64 len);
bool unzbuffer_finish_destroy(struct unzbuffer *z);
|