Reader is designed to read data from the operator.
More...
#include <opendal.hpp>
|
| Reader (std::unique_ptr< details::Reader > &&reader) |
|
| Reader (Reader &&) |
|
| ~Reader () |
|
std::streamsize | read (void *s, std::streamsize n) |
|
std::streampos | seek (std::streamoff off, std::ios_base::seekdir way) |
|
Reader is designed to read data from the operator.
It provides basic read and seek operations. If you want to use it like a stream, you can use ReaderStream
instead.
ReaderStream is a stream wrapper of Reader which can provide iostream interface. It will keep a Reade...
Definition opendal.hpp:243
◆ Reader() [1/2]
opendal::Reader::Reader |
( |
std::unique_ptr< details::Reader > && |
reader | ) |
|
◆ Reader() [2/2]
opendal::Reader::Reader |
( |
Reader && |
| ) |
|
◆ ~Reader()
opendal::Reader::~Reader |
( |
| ) |
|
◆ read()
std::streamsize opendal::Reader::read |
( |
void * |
s, |
|
|
std::streamsize |
n |
|
) |
| |
◆ seek()
std::streampos opendal::Reader::seek |
( |
std::streamoff |
off, |
|
|
std::ios_base::seekdir |
way |
|
) |
| |
The documentation for this class was generated from the following file:
- /home/runner/work/opendal/opendal/bindings/cpp/include/opendal.hpp