Home -> IStateBuffer -> SetRawPageData

Description

The SetRawPageData method writes the specified raw byte data directly into the state buffer at the specified location.

Usage

void SetRawPageData(uint32_t pageNo, const uint8_t* data, size_t dataSizeInBytes, size_t dataOffsetInBytes = 0);

Argument list

pageNo [uint32_t]
The state buffer page to update.
data [const uint8_t*]
The source bytes to copy into the page.
dataSizeInBytes [size_t]
The number of bytes to copy.
dataOffsetInBytes [size_t]
The byte offset into the page where the copy begins.

See also