Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
opendal::Reader Class Reference

Reader is designed to read data from the operator. More...

#include <opendal.hpp>

Inheritance diagram for opendal::Reader:
[legend]

Public Member Functions

 Reader (Reader &&other) noexcept
 
 ~Reader () noexcept
 
std::streamsize read (void *s, std::streamsize n)
 
std::streampos seek (std::streamoff off, std::ios_base::seekdir way)
 

Friends

class Operator
 

Detailed Description

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.

opendal::ReaderStream stream(operator.reader("path"));
ReaderStream is a stream wrapper of Reader which can provide iostream interface. It will keep a Reade...
Definition opendal.hpp:215

Constructor & Destructor Documentation

◆ Reader()

opendal::Reader::Reader ( Reader &&  other)
noexcept

◆ ~Reader()

opendal::Reader::~Reader ( )
noexcept

Member Function Documentation

◆ 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 
)

Friends And Related Symbol Documentation

◆ Operator

friend class Operator
friend

The documentation for this class was generated from the following file: