# SetMemblockByte

## Description

Writes a single byte value at the given offset. The offset must be less than the size of the memblock. The first value is at offset 0. The given value will be truncated to the range 0 and 255.

## Definition

SetMemblockByte( memID, offset, value )

void agk::SetMemblockByte( UINT memID, UINT offset, int value )

## Parameters

- memID - The ID of the memblock to modify.
- offset - The offset from the start of the memblock to write to, between 0 and size.
- value - The value to write.