poke package:unliftio

Write the given value to the given memory location. Alignment restrictions might apply; see peek.
Lifted pokeArray.
Lifted pokeArray0.
Write a value to a memory location given by a base address and offset. The following equality holds:
pokeByteOff addr off x = poke (addr `plusPtr` off) x
Write a value to a memory area regarded as an array of values of the same kind. The following equality holds:
pokeElemOff addr idx x = 
poke (addr `plusPtr` (idx * sizeOf x)) x