Retrieve the value of one or more BYTEs from the memory buffer pointed by <pMem> starting at the position <nShift>.
Syntax:
PokeByte(<pMem>,[[@]<nShift>],<nValue>,...) -> <nBytesWriten>
PokeByte(<pMem>,[[@]<nShift>],<aValues>) -> <nBytesWritten>
Parameters:
<pMem>
Base pointer to the memory buffer.
<nShift>
Zero based starting position within <pMem>. Is this parameter is passed by reference will be increased with the number of bytes retrieved, to reuse it in subsequent calls to Peek...() functions.
<nValue>, ...
Numeric BYTE value to write at <pMem>+<nShift>. You can provide more parameters to write multiple BYTES in a single call.
<aValues>
Array of numeric BYTE values to write at <pMem>+<nShift> and subsequent positions.
Return Value:
Number of written bytes.