Module tap::mappedvfile
source · [−]Expand description
MappedVFileBuilder is a file system developement helper, you can use it to create a generator of Reader
.
You don’t need to implement Read or Seek method but just to add different pointer (offset and size) to chunk of data from an existing Reader
to the container.
Structs
FileOffset contain a builder
, the offset
from where we start reading the data of the builder, and a unique id
.
FileRanges contain a Vec<(Range
This is an implementation of the trait VFileBuilder that help to easily write filesystem plugin by creating a file builder that accept a FileRanges that help building the different chunk of data of the generated file.