Absence of unsigned integer read/write support in IBinaryRawReader/Writer

2018-10-08 Thread Raymond Wilson
I’m using Ignite IBinarizable raw serialization in Ignite v2.6 with C# client. I notice there is no support for unsigned short, int and long integer types (both single values and arrays). I also noticed that Decimal, DateTime and Guid read/write methods only support nullable values. Curren

Re: Absence of unsigned integer read/write support in IBinaryRawReader/Writer

2018-10-09 Thread Ilya Kasnacheev
Hello! I think this is because Ignite marshallers stick to what Java supports. Java only supports signed numbers and it only supports nullable composite values (no structs). Thus on the C# side you can use those types which intersect between Java and .Net runtimes. I can see how this can be inco

Re: Absence of unsigned integer read/write support in IBinaryRawReader/Writer

2018-10-09 Thread Dmitriy Setrakyan
This is not about what "Java" supports. This is about the protocol working seamlessly across Java, .NET, and C++ environments, so we had to remove the types that are not supported on some platforms. D. On Tue, Oct 9, 2018 at 7:57 AM Ilya Kasnacheev wrote: > Hello! > > I think this is because Ig

Re: Absence of unsigned integer read/write support in IBinaryRawReader/Writer

2018-10-09 Thread Raymond Wilson
Hi Dmitry, Thanks for the answer, I suspected this might be the case. I am curious that unsigned ints would not be a universally supported type on all platforms. Is that really the case? Thanks, Raymond. Sent from my iPhone > On 10/10/2018, at 10:22 AM, Dmitriy Setrakyan wrote: > > This is no

Re: Absence of unsigned integer read/write support in IBinaryRawReader/Writer

2018-10-10 Thread Dmitriy Setrakyan
On Tue, Oct 9, 2018 at 9:55 PM Raymond Wilson wrote: > > I am curious that unsigned ints would not be a universally supported type > on all platforms. Is that really the case? > I am not aware of any unsigned ints in Java, at least yet. Here is a Stack Overflow thread on this: https://stackover