Write to the pointer.
Parameters:
Returns:
Raises:
if the value is not an integer or boolean
if the value is greater than 2<sup>31</sup>-1 or less than -2<sup>31</sup>