Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
MemoryStream Class Reference

Public Member Functions

 MemoryStream (u8 *RESTRICT data, size_t size)
 
size_t RemainingSize () const
 
void CopyTo (u8 *RESTRICT dst, size_t dstSize)
 

Private Attributes

u8 *RESTRICT data
 
size_t size
 
size_t pos
 

Constructor & Destructor Documentation

◆ MemoryStream()

MemoryStream::MemoryStream ( u8 *RESTRICT  data,
size_t  size 
)
inline

Member Function Documentation

◆ CopyTo()

void MemoryStream::CopyTo ( u8 *RESTRICT  dst,
size_t  dstSize 
)
inline

◆ RemainingSize()

size_t MemoryStream::RemainingSize ( ) const
inline

Member Data Documentation

◆ data

u8* RESTRICT MemoryStream::data
private

◆ pos

size_t MemoryStream::pos
private

◆ size

size_t MemoryStream::size
private

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