Thanks for the suggestion. I've taken a quick look which prompted some questions about the whole way I have implemented the transfer. Can you help with the following queries please?
I'm using prefix mode and B4R Serializator. Sending from B4A to B4R.
The fields used via the serializator are: long, int, long, string and byte()
. How are B4A longs interpreted by B4R, i.e. 8 bytes in B4A, 4 in B4R
. How are ints interpreted, 4 bytes B4A, 2 bytes B4R
. How to calculate the MaxBufferSize at B4R end? (Max size of Byte() + (Max length string + 1) + 4 + 8 + 8) / 2 [as buffersize is specified in UInts]?
. If the size of byte() and string are less than the maximum then does prefix mode always wait for the MoreData delay (possibly multiple times)?
. How to read the serializator objects into B4R variables? e.g. byte() object into a byte() array, string object into a string without a 'programming mistake' warning, int into int/long, long into long/??
Thanks