Hi everyone,
I was wondering if anyone could provide a bit of help,
I need to store an integer value that is 20 bytes in length - I know theres an int32_t and int16_t, but I can't seem to get an integer stored that is only 20 bytes!!
I've also tried storing them in a 20 char array - unfortunately returning it from the class is proving to be a bit of a problem (I need to store the integer first in the class itself, then everything from the class is copied into a struct so it can be converted into binary)
Any help would be much appreciated, I can post some code online as well if anyone wishes to have a look at it - here is the code for the attempt I made at making a 20 byte integer, but it keeps returning an error that it has exceeded it's width :(
struct int20
{
unsigned long _int20 : 160;
};