Turi Create
4.0
|
#include <core/storage/fileio/s3_fstream.hpp>
Public Member Functions | |
std::streamsize | optimal_buffer_size () const |
std::streampos | seek (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode) |
size_t | file_size () const |
s3 file source is used to construct boost iostreams
Definition at line 22 of file s3_fstream.hpp.
size_t turi::s3_device::file_size | ( | ) | const |
Returns the file size of the opened file. Returns (size_t)(-1) if there is no file opened, or if there is an error obtaining the file size.
|
inline |
the optimal buffer size is 0.
Definition at line 51 of file s3_fstream.hpp.
std::streampos turi::s3_device::seek | ( | std::streamoff | off, |
std::ios_base::seekdir | way, | ||
std::ios_base::openmode | |||
) |
Seeks to a different location.