FastLED 3.9.15
Loading...
Searching...
No Matches

◆ seekg()

fstream & fl::fstream::seekg ( fl::size_t pos,
ios::seekdir dir = ios::seekdir::beg )

Definition at line 310 of file fstream.cpp.hpp.

310 {
311 if (mHandle && mHandle->is_open()) {
312 seek_dir seek_direction =
314 (dir == ios::seekdir::cur) ? seek_dir::cur : seek_dir::end;
315 mHandle->seek(pos, seek_direction);
316 updateState();
317 }
318 return *this;
319}
uint8_t pos
Definition Blur.ino:11
void updateState()
Definition fstream.h:308
filebuf_ptr mHandle
Definition fstream.h:301
seek_dir
Definition file_handle.h:19

References fstream(), fl::ios::beg, fl::beg, fl::ios::cur, fl::cur, fl::end, mHandle, pos, and updateState().

+ Here is the call graph for this function: