class final
#include <bsa/detail/common.hpp>
read_source An abstraction over the specific source that will be read from.
Constructors, destructors, conversion operators
-
read_source(std::
filesystem:: path a_path) -
read_source(std::
span<const std:: byte> a_src) noexcept -
read_source(std::
span<const std:: byte> a_src, copy_ type a_copy) noexcept
Function documentation
bsa:: read_source:: read_source(std:: filesystem:: path a_path)
Parameters | |
---|---|
a_path | The path to read from on the native filesystem. |
Exceptions | |
std:: |
Thrown when filesystem errors are encountered. |
bsa:: read_source:: read_source(std:: span<const std:: byte> a_src) noexcept
Parameters | |
---|---|
a_src | The source to read from. |
bsa:: read_source:: read_source(std:: span<const std:: byte> a_src,
copy_ type a_copy) noexcept
Parameters | |
---|---|
a_src | The source to read from. |
a_copy | The method to use when copying data from a_src . |