vsg
1.1.0
VulkanSceneGraph library
|
#include <mem_stream.h>
Public Member Functions | |
mem_stream (const uint8_t *ptr, size_t length) | |
mem_stream (const std::string &str, std::string::size_type pos, std::string::size_type length) | |
mem_stream (const std::string_view &sv) | |
void | set (const uint8_t *ptr, size_t length) |
set the mem_stream to memory block | |
void | set (const std::string_view &sv) |
set the mem_stream to string_view | |
void | set (const std::string &str, std::string::size_type pos, std::string::size_type length) |
set the mem_stream to portion of string | |
Input stream that enables reading from a read only block of memory Like std::string_view the memory referenced by the mem_stream has to be kept in memory for the duration of the mem_stream existence.