I have to convert sbyte array to BigInteger. I am on universal windows platform. The BigInteger constructor only accepts byte[] and not sbyte[].
I cannot use byte[] since in C# byte is unsigned by default and I get higher values than 128.
The sbyte array is converted from byte array because when I compare the BigInteger value that C# is returning is different from the value in Java since java by default is using signed bytes and c# is using unsigned.
Any Solution ? BigInteger in java: 78214101938123633359912717791532276502 BigInteger in C# 30381787179362266836169791328776673082
Edit: I am trying to make a BigInteger from sbyte[] array. I am not trying to convert byte[] to sbyte[]