vsg  1.1.0
VulkanSceneGraph library
Classes | Public Member Functions | List of all members
vsg::mem_stream Class Reference

#include <mem_stream.h>

Inheritance diagram for vsg::mem_stream:
Inheritance graph
[legend]
Collaboration diagram for vsg::mem_stream:
Collaboration graph
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: