文件名称:gbza解压源码
文件大小:7KB
文件格式:H
更新时间:2015-07-06 09:13:30
gbza
static int gbza_get_file_count(gbza_t *handle) { int fi = *((__u16*)&handle;->gh_buf[8]); return fi; } static size_t gbza_get_pack_size(u8 *buf) { int psize = *((__u32*)&buf;[4]); return psize; } GEXPORT gbza_t *gbza_open(u8 *data) { u8 option = 0; gbza_t *gbptr; if((data[0] != 'd') || (data[1] != 'b') || (data[2] != '1') || (data[3] != 0x0)) { return (struct gbza_handle *)-1; }