vsg: vsg::mem_stream Class Reference

vsg 1.1.3 VulkanSceneGraph library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
vsg::mem_stream Class Reference

`#include <mem_stream.h>`

Inheritance diagram for vsg::mem_stream:
[legend]
Collaboration diagram for vsg::mem_stream:
[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:

- include/vsg/io/mem_stream.h