Add some helper functions to allow the translation from and to binary data to send it with __IPC_SubSend/__IPC_MainSend.
Will probably get look like this:
__IPC_SubSend(Binary($iVal)&Binary($fVal)&StringToBinary($sData))
When receiving $bData, use some functions to read the values again
__IPC_BinToInt($bData) => Int(BinaryMid($bData, 1, 4))
__IPC_BinToFloat($bData) => Float(BinaryMid($bData, 1, 4))
__IPC_BinToString($bData, 10) => BinaryToString(BinaryMid($bData, 1, 10))
...
or maybe think of something better.
This should help user to not need to now how to process the binary data.
Add some helper functions to allow the translation from and to binary data to send it with __IPC_SubSend/__IPC_MainSend.
Will probably get look like this:
__IPC_SubSend(Binary($iVal)&Binary($fVal)&StringToBinary($sData))
When receiving $bData, use some functions to read the values again
__IPC_BinToInt($bData) => Int(BinaryMid($bData, 1, 4))
__IPC_BinToFloat($bData) => Float(BinaryMid($bData, 1, 4))
__IPC_BinToString($bData, 10) => BinaryToString(BinaryMid($bData, 1, 10))
...
or maybe think of something better.
This should help user to not need to now how to process the binary data.