Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Attributes | List of all members
Burger::OutputMemoryStream::Chunk_t Struct Reference

Data chunk for OutputMemoryStream. More...

Collaboration diagram for Burger::OutputMemoryStream::Chunk_t:
Collaboration graph
[legend]

Public Attributes

Chunk_tm_pNext
 Pointer to the next chunk.
 
uintptr_t m_uMark
 Base file mark for this chunk.
 
uint8_t m_Buffer [kChunkSize]
 Chunk data.
 

Detailed Description

Data chunk for OutputMemoryStream.


To prevent allocation failures, the OutputMemoryStream class allocates data chunks in small sizes so if the memory is fragmented the odds of a successful allocation increases.

Once the OutputMemoryStream is disposed of or a call to OutputMemoryStream::Clear() is issued, all chunks are disposed of.

See also
OutputMemoryStream

Member Data Documentation

◆ m_Buffer

uint8_t Burger::OutputMemoryStream::Chunk_t::m_Buffer[kChunkSize]

Chunk data.

◆ m_pNext

Chunk_t* Burger::OutputMemoryStream::Chunk_t::m_pNext

Pointer to the next chunk.

◆ m_uMark

uintptr_t Burger::OutputMemoryStream::Chunk_t::m_uMark

Base file mark for this chunk.