Struct embedded_sdmmc::File
source · pub struct File { /* private fields */ }Expand description
Represents an open file on disk.
Implementations§
source§impl File
impl File
sourcepub fn seek_from_start(&mut self, offset: u32) -> Result<(), FileError>
pub fn seek_from_start(&mut self, offset: u32) -> Result<(), FileError>
Seek to a new position in the file, relative to the start of the file.
sourcepub fn seek_from_end(&mut self, offset: u32) -> Result<(), FileError>
pub fn seek_from_end(&mut self, offset: u32) -> Result<(), FileError>
Seek to a new position in the file, relative to the end of the file.