85 other.mHandle.reset();
100 other.mHandle.reset();
244 other.mHandle.reset();
248 other.mLocalError = 0;
252 if (
this != &other) {
259 other.mHandle.reset();
263 other.mLocalError = 0;
338 other.mHandle.reset();
343 other.mLocalError = 0;
347 if (
this != &other) {
355 other.mHandle.reset();
360 other.mLocalError = 0;
const char * error_message() const
fstream & write(const char *data, fl::size_t count)
fstream & seekg(fl::size_t pos, ios::seekdir dir=ios::seekdir::beg)
fl::size_t gcount() const
void open(const char *path, ios::openmode mode=ios::in|ios::out)
fstream & operator=(fstream &&other) FL_NOEXCEPT
filebuf_ptr rdbuf() const
void open(const char *path, ios::openmode mode=ios::in)
const char * error_message() const
bool seek(fl::size_t p, seek_dir dir)
ifstream & operator=(ifstream &&other) FL_NOEXCEPT
const char * path() const
bool available(fl::size_t n) const
fl::size_t read(fl::u8 *dst, fl::size_t n)
ifstream & seekg(fl::size_t pos, ios::seekdir dir=ios::seekdir::beg)
fl::size_t read(fl::span< fl::u8 > dst)
filebuf_ptr rdbuf() const
fl::size_t bytes_left() const
fl::size_t readRGB8(fl::span< CRGB > dst)
fl::size_t gcount() const
fl::size_t bytesLeft() const
ofstream & operator=(ofstream &&other) FL_NOEXCEPT
filebuf_ptr rdbuf() const
ofstream & write(const char *data, fl::size_t count)
const char * error_message() const
void open(const char *path, ios::openmode mode=ios::out)
const T * data() const FL_NOEXCEPT
constexpr fl::size size() const FL_NOEXCEPT
static constexpr openmode in
static constexpr openmode ate
static constexpr openmode trunc
static constexpr openmode out
static constexpr openmode binary
static constexpr openmode app
To reinterpret_cast_(const From &from) FL_NOEXCEPT
fl::shared_ptr< filebuf > filebuf_ptr
Base definition for an LED controller.