blob: d2bf98f26399704050c162ca65113f07398f0f93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <zlib.h>
int
gzreadoffset(gzFile file, voidp buf, unsigned offset, unsigned len)
{
return gzread(file, buf + offset, len);
}
int
gzwriteoffset(gzFile file, voidpc buf, unsigned offset, unsigned len)
{
return gzwrite(file, buf + offset, len);
}
|