Expand description
VFileBuilder is a trait that help build new ‘Virtual File’. It’s implemented as a trait with an open function returning a VFile (Read+Seek) this can be added as Value to the tree and so permit to create a stacked VFS as node can read on a VFile and generate a new one
Traits
Functions
Read a Pascal UTF-16 string from file, first read the string size as a [u16] then read the data and convert it to String
size` is the size in byte of the u16 string.
Read an UTF-16 string from file
of size size
and return a String
size
is the size in byte of the u16 string.
Read a consecutive list of UTF-16 String from a slice of file
of size size
.