Skip to content

Buffering/caching #24

Open
Open
@paulyoung

Description

@paulyoung

fatfs recommends using fscommon::BufStream

Note: it is recommended to wrap the underlying file struct in a buffering/caching object like BufStream from
fscommon crate. For example:

 let buf_stream = BufStream::new(img_file);
 let fs = fatfs::FileSystem::new(buf_stream, fatfs::FsOptions::new())?;

dfinity/cdk-rs#245 and dfinity/cdk-rs#247 appear to be doing something similar that won’t work out of the box here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions