Hi guys I need help how to convert my uint and int to 3 byte array. Converting it to 4 byte array is easy since .Net has BitConverter class but now I really need to convert it to 3 Byte Array hope someone can help me out. Thanks
Perhaps you could change this struct, so that it fits your 3 byte scheme:
private int _bits;
public IntBits(int InitialBitValue)
_bits = InitialBitValue;
public bool this[int index]
return (_bits & (1 << index)) != 0;
_bits |= (1 << index); //set bit index to 1
_bits &= ~(1 << index); //set bit index to 0
technically endianess will really affect my problem anyway .net provided us the way to check it. I think ill test something using the OR and AND operator and should check if int value is > FFFFFF. Anyway guys thanks for sharing your thoughts, I will try it.
**how to solve invalid keystore error in android studio here is error report----------------------->
here is error report--------> error:Error:java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key palash from store "D:\MyApplication3.idea\workspace.xml": Invalid keystore format ...