Class ByteStreamReader

Class Documentation

class inexor::vulkan_renderer::io::ByteStreamReader

Public Functions

explicit ByteStreamReader(const ByteStream &stream)
std::size_t remaining() const
void skip(std::size_t size)

Skip ‘size’ bytes (std::uint8_t).

template<typename T, typename ...Args>
T read(const Args&...)

Generic read method.

Private Functions

void check_end(std::size_t size) const

Private Members

const ByteStream &m_stream
std::vector<std::uint8_t>::const_iterator m_iter

Stream iterator.