[WIN-5144] Echo changes in Windows XWT backend to make Mac XWT backend serialize Object to byte[] and back, to avoid potential crash to non-byte[] object in TransferDataSource/Store (was assuming byte[] which is not a safe assumption). Untested except on byte[], which is serialized (wrapped in extra bytes by BinaryFormatter) then deserialized as in Windows, returning the original byte[].
[WIN-5144] Echo changes in Windows XWT backend to make Mac XWT backend serialize Object to byte[] and back, to avoid potential crash to non-byte[] object in TransferDataSource/Store (was assuming byte[] which is not a safe assumption). Untested except on byte[], which is serialized (wrapped in extra bytes by BinaryFormatter) then deserialized as in Windows, returning the original byte[].

TheBrainTech/xwt