CheckPtr

Checks that a buffer address is in memory scope

Description

CheckPtr( buffer[], length )

Validates that the buffer is in memory scope.

Parameters

buffer Buffer start address
length Size of buffer in bytes

Return value

True if buffer fits in memory. False if not.