9#ifndef ZYPP_CORE_BASE_ZCKSTREAM_H
10#define ZYPP_CORE_BASE_ZCKSTREAM_H
15#include <zypp-core/base/SimpleStreambuf>
16#include <zypp-core/base/fXstream>
41 bool canSeek ( std::ios_base::seekdir way_r )
const;
43 std::streamsize
readData (
char * buffer_r, std::streamsize maxcount_r );
44 bool writeData(
const char * buffer_r, std::streamsize count_r );
45 off_t
seekTo( off_t off_r, std::ios_base::seekdir way_r, std::ios_base::openmode omode_r );
51 bool openImpl(
const char * name_r, std::ios_base::openmode mode_r );
Common template to define ifgzstream/ofgzstream reading/writing compressed files.
Streambuffer reading or writing zchunk files.
bool canSeek(std::ios_base::seekdir way_r) const
std::streamsize readData(char *buffer_r, std::streamsize maxcount_r)
off_t seekTo(off_t off_r, std::ios_base::seekdir way_r, std::ios_base::openmode omode_r)
bool writeData(const char *buffer_r, std::streamsize count_r)
bool openImpl(const char *name_r, std::ios_base::openmode mode_r)
Easy-to use interface to the ZYPP dependency resolver.