#include <zypp-core/zyppng/io/private/iobuffer_p.h>
Definition at line 10 of file iobuffer_p.h.
◆ IOBuffer()
zyppng::IOBuffer::IOBuffer |
( |
int64_t |
chunkSize = 0 | ) |
|
◆ reserve()
char * zyppng::IOBuffer::reserve |
( |
int64_t |
bytes | ) |
|
◆ front()
char * zyppng::IOBuffer::front |
( |
| ) |
|
◆ frontSize()
int64_t zyppng::IOBuffer::frontSize |
( |
| ) |
const |
◆ clear()
void zyppng::IOBuffer::clear |
( |
| ) |
|
◆ discard()
int64_t zyppng::IOBuffer::discard |
( |
int64_t |
bytes | ) |
|
◆ chop()
void zyppng::IOBuffer::chop |
( |
int64_t |
bytes | ) |
|
Removes bytes from the end of the buffer
Definition at line 87 of file iobuffer.cc.
◆ append() [1/2]
void zyppng::IOBuffer::append |
( |
const char * |
data, |
|
|
int64_t |
count |
|
) |
| |
◆ append() [2/2]
void zyppng::IOBuffer::append |
( |
const ByteArray & |
data | ) |
|
◆ read()
int64_t zyppng::IOBuffer::read |
( |
char * |
buffer, |
|
|
int64_t |
max |
|
) |
| |
◆ size()
int64_t zyppng::IOBuffer::size |
( |
| ) |
const |
◆ chunks()
std::vector< IOBuffer::Chunk >::size_type zyppng::IOBuffer::chunks |
( |
| ) |
const |
◆ indexOf() [1/2]
int64_t zyppng::IOBuffer::indexOf |
( |
const char |
c | ) |
const |
|
inline |
◆ indexOf() [2/2]
int64_t zyppng::IOBuffer::indexOf |
( |
const char |
c, |
|
|
int64_t |
maxCount, |
|
|
int64_t |
pos = 0 |
|
) |
| const |
◆ readLine() [1/2]
ByteArray zyppng::IOBuffer::readLine |
( |
const int64_t |
max = 0 | ) |
|
◆ readLine() [2/2]
int64_t zyppng::IOBuffer::readLine |
( |
char * |
buffer, |
|
|
int64_t |
max |
|
) |
| |
◆ canReadLine()
bool zyppng::IOBuffer::canReadLine |
( |
| ) |
const |
◆ _defaultChunkSize
int64_t zyppng::IOBuffer::_defaultChunkSize |
|
private |
◆ _chunks
std::vector<Chunk> zyppng::IOBuffer::_chunks |
|
private |
The documentation for this class was generated from the following files: