LibreOffice Module hwpfilter (master) 1
|
#include <hstream.hxx>
Public Member Functions | |
HStream () | |
void | addData (const byte *buf, size_t aToAdd) |
size_t | readBytes (byte *buf, size_t aToRead) |
Read some byte to buf as given size. More... | |
size_t | skipBytes (size_t aToSkip) |
Skip some byte from stream as given size. More... | |
size_t | available () const |
Private Attributes | |
std::vector< byte > | seq |
size_t | pos |
Definition at line 26 of file hstream.hxx.
HStream::HStream | ( | ) |
Definition at line 24 of file hstream.cxx.
References pos.
void HStream::addData | ( | const byte * | buf, |
size_t | aToAdd | ||
) |
Definition at line 29 of file hstream.cxx.
References seq.
size_t HStream::available | ( | ) | const |
size_t HStream::readBytes | ( | byte * | buf, |
size_t | aToRead | ||
) |
Read some byte to buf as given size.
Definition at line 31 of file hstream.cxx.
References i, pos, seq, and size.
Referenced by get_byte(), and gz_read().
size_t HStream::skipBytes | ( | size_t | aToSkip | ) |
Skip some byte from stream as given size.
Definition at line 41 of file hstream.cxx.
|
private |
Definition at line 47 of file hstream.hxx.
Referenced by available(), readBytes(), and skipBytes().
|
private |
Definition at line 46 of file hstream.hxx.
Referenced by addData(), available(), readBytes(), and skipBytes().