Data chunk for OutputMemoryStream. More...

Public Attributes | |
| Chunk_t * | m_pNext |
| Pointer to the next chunk. | |
| uintptr_t | m_uMark |
| Base file mark for this chunk. | |
| uint8_t | m_Buffer [kChunkSize] |
| Chunk data. | |
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.
| uint8_t Burger::OutputMemoryStream::Chunk_t::m_Buffer[kChunkSize] |
Chunk data.
| Chunk_t* Burger::OutputMemoryStream::Chunk_t::m_pNext |
Pointer to the next chunk.
| uintptr_t Burger::OutputMemoryStream::Chunk_t::m_uMark |
Base file mark for this chunk.