Decode (FUN)¶
FUNCTION Decode : BOOL
Function decodes “Source” (ARRAY OF BYTE) into “Destination” (ARRAY OF DWORD), meaning 4 BYTEs are decoded into 1 DWORD. Assumes “uiNumberOfBytes” is a multiple of 4, whereas if it is not “FALSE” will be returned.
- InOut:
Scope
Name
Type
Comment
Return
Decode
BOOL
function returns “TRUE” if decoding succeded
Input
pSource
POINTER TO ARRAY [0..0] OF BYTE
address of source memory
pDestination
POINTER TO ARRAY [0..0] OF DWORD
address of destination memory
uiNumberOfBytes
UINT
number of bytes to decode