The Loader::load_from_slice function requires path to determine file type, but i would be useful to either be able to specify file type or deduce type in the cases the the binaries have an identifier, for cases in which no path exists such as data that has been embedded into the binary. the same issue of requiring a string is also present in Loader::load_stl_from_slice and the equivalents for different file formats, but i dont really understand what they doing with them.
The
Loader::load_from_slicefunction requires path to determine file type, but i would be useful to either be able to specify file type or deduce type in the cases the the binaries have an identifier, for cases in which no path exists such as data that has been embedded into the binary. the same issue of requiring a string is also present inLoader::load_stl_from_sliceand the equivalents for different file formats, but i dont really understand what they doing with them.