MCPcopy Create free account
hub / github.com/SFML/SFML / MemoryInputStream

Method MemoryInputStream

src/SFML/System/MemoryInputStream.cpp:38–42  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

36{
37////////////////////////////////////////////////////////////
38MemoryInputStream::MemoryInputStream(const void* data, std::size_t sizeInBytes) :
39 m_data(static_cast<const std::byte*>(data)),
40 m_size(sizeInBytes)
41{
42}
43
44
45////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected