Class ByteStream¶
Defined in File byte_stream.hpp
Inheritance Relationships¶
Derived Type¶
public inexor::vulkan_renderer::io::ByteStreamWriter
(Class ByteStreamWriter)
Class Documentation¶
-
class ByteStream¶
Subclassed by inexor::vulkan_renderer::io::ByteStreamWriter
Public Functions
-
ByteStream() = default¶
-
explicit ByteStream(std::vector<std::uint8_t> buffer)¶
-
explicit ByteStream(const std::filesystem::path &path)¶
Read from file.
-
std::size_t size() const¶
-
const std::vector<std::uint8_t> &buffer() const¶
Protected Attributes
-
std::vector<std::uint8_t> m_buffer¶
Protected Static Functions
-
static std::vector<std::uint8_t> read_file(const std::filesystem::path &path)¶
Read from file.
-
ByteStream() = default¶