# GetMemblockByte

## Description

Returns the 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 returned value will be an unsigned byte between 0 and 255.

## Definition

integer GetMemblockByte( memID, offset )

int agk::GetMemblockByte( UINT memID, UINT offset )

## Parameters

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