1#ifndef ZYPPNG_IO_IOBUFFER_P_H
2#define ZYPPNG_IO_IOBUFFER_P_H
4#include <zypp-core/zyppng/core/ByteArray>
22 const char *
data ()
const {
29 int64_t
len ()
const {
46 int64_t
size ( )
const;
47 std::vector<Chunk>::size_type
chunks ()
const;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
std::vector< Chunk > _chunks
ByteArray readUntil(const char delim, const int64_t max=0)
bool canReadUntil(const char delim) const
int64_t _defaultChunkSize
ByteArray readLine(const int64_t max=0)
std::vector< Chunk >::size_type chunks() const
int64_t read(char *buffer, int64_t max)
void append(const char *data, int64_t count)
int64_t indexOf(const char c) const
char * reserve(int64_t bytes)
IOBuffer(int64_t chunkSize=0)
int64_t discard(int64_t bytes)
int64_t frontSize() const
int64_t available() const
const char * data() const